数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 33 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 33 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 29Page - STMicroelectronics ST9 Datasheet HTML 30Page - STMicroelectronics ST9 Datasheet HTML 31Page - STMicroelectronics ST9 Datasheet HTML 32Page - STMicroelectronics ST9 Datasheet HTML 33Page - STMicroelectronics ST9 Datasheet HTML 34Page - STMicroelectronics ST9 Datasheet HTML 35Page - STMicroelectronics ST9 Datasheet HTML 36Page - STMicroelectronics ST9 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 146 page
background image
33/146
ST9 USER GUIDE
3.3.1 Overview
For a complete description of the instruction set, you should refer to the ST9 Programming
Manual. The aim here is to give you an introduction to the ST9 instruction set and highlight
some of its best features in terms of power and ease of programming.
Most instructions of the ST9 exist in both byte and word forms. That is, they can operate on ei-
ther 8 (byte) or 16-bits (word). The mnemonics of the word-instructions all end with a “w”, as
in the following examples:
The new powerful instructions added to the ST9 are the CALLS, RETS, JPS instructions for
far branching to change the program segment and the instructions used for C language appli-
cations, LINK, LINKU, UNLINK and UNLINKU. Moreover, all instructions have been optimized
compared to Previous ST9.
3.3.1.1 Load Instructions
Beside the classical load instructions found on most microprocessors, there are four special
load instructions for moving data between two locations in memory.
One instruction to move data from data segment to data segment; lddd. This instruction al-
lows you to post-increment the destination and the source index register at the same time. The
ld instruction needs two instructions to do this. An example for moving a block of data would
be:
ld
rr0,#Source
ld
rr2,#Destination
; initialisation of the pointers
ld
r5,#Num_loop
; number of elements to move
loop:
ld
r4,(rr0)+
; transfer of one byte
ld
(rr2)+,r4
djnz
r5,loop
The two ld instructions are coded using 6 bytes and executed in 24 cycles.
The same program with the lddd instruction:
ld
rr0,#Source
ld
rr2,#Destination
; initialisation of the pointers
Load
Add
Subtract
Logical
and
Logical or
Compare
Push
Pop
ld
add
sub
and
or
cp
push
pop
ldw
addw
subw
andw
orw
cpw
pushw
popw



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com