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

X  

ST7FOXK2 数据表(PDF) 178 Page - STMicroelectronics

部件名 ST7FOXK2
功能描述  8-bit MCU with single voltage Flash memory, SPI, I²C, ADC, timers
PDF  226 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST7FOXK2 数据表(HTML) 178 Page - STMicroelectronics

Back Button ST7FOXK2 Datasheet HTML 174Page - STMicroelectronics ST7FOXK2 Datasheet HTML 175Page - STMicroelectronics ST7FOXK2 Datasheet HTML 176Page - STMicroelectronics ST7FOXK2 Datasheet HTML 177Page - STMicroelectronics ST7FOXK2 Datasheet HTML 178Page - STMicroelectronics ST7FOXK2 Datasheet HTML 179Page - STMicroelectronics ST7FOXK2 Datasheet HTML 180Page - STMicroelectronics ST7FOXK2 Datasheet HTML 181Page - STMicroelectronics ST7FOXK2 Datasheet HTML 182Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 178 / 226 page
background image
Instruction set
ST7FOXF1, ST7FOXK1, ST7FOXK2
178/226
11
Instruction set
11.1
ST7 addressing modes
The ST7 core features 17 different addressing modes which can be classified in seven main
groups:
The ST7 instruction set is designed to minimize the number of bytes required per
instruction: To do so, most of the addressing modes may be subdivided in two submodes
called long and short:
Long addressing mode is more powerful because it can use the full 64 Kbyte address
space, however it uses more bytes and more CPU cycles.
Short addressing mode is less powerful because it can generally only access page
zero (0000h - 00FFh range), but the instruction size is more compact, and faster. All
memory to memory instructions use short addressing modes only (CLR, CPL, NEG,
BSET, BRES, BTJT, BTJF, INC, DEC, RLC, RRC, SLL, SRL, SRA, SWAP)
The ST7 Assembler optimizes the use of long and short addressing modes.
Table 58.
Description of addressing modes
Addressing mode
Example
Inherent
nop
Immediate
ld A,#$55
Direct
ld A,$55
Indexed
ld A,($55,X)
Indirect
ld A,([$55],X)
Relative
jrne loop
Bit operation
bset
byte,#5
Table 59.
ST7 addressing mode overview
Mode
Syntax
Destination/
source
Pointer
address
Pointer
size
Length
(bytes)
Inherent
nop
+ 0
Immediate
ld A,#$55
+ 1
Short
Direct
ld A,$10
00..FF
+ 1
Long
Direct
ld A,$1000
0000..FFFF
+ 2
No Offset
Direct
Indexed
ld A,(X)
00..FF
+ 0 (with X register)
+ 1 (with Y register)
Short
Direct
Indexed
ld A,($10,X)
00..1FE
+ 1
Long
Direct
Indexed
ld A,($1000,X)
0000..FFFF
+ 2
Short
Indirect
ld A,[$10]
00..FF
00..FF
byte
+ 2
Long
Indirect
ld A,[$10.w]
0000..FFFF
00..FF
word
+ 2
Short
Indirect
Indexed
ld A,([$10],X)
00..1FE
00..FF
byte
+ 2



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