參數(shù)資料
型號: ST7PLITE05Y0M3
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
封裝: 0.150 INCH, PLASTIC, SOP-16
文件頁數(shù): 85/115頁
文件大?。?/td> 781K
代理商: ST7PLITE05Y0M3
ST7FLITE0
71/115
12 INSTRUCTION SET
12.1 ST7 ADDRESSING MODES
The ST7 Core features 17 different addressing
modes which can be classified in 7 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 subdi-
vided in two sub-modes called long and short:
– Long addressing mode is more powerful be-
cause it can use the full 64 Kbyte address space,
however it uses more bytes and more CPU cy-
cles.
– 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 in-
structions 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 18. ST7 Addressing Mode Overview
Note 1. At the time the instruction is executed, the Program Counter (PC) points to the instruction follow-
ing JRxx.
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
Mode
Syntax
Destination/
Source
Pointer
Address
(Hex.)
Pointer
Size
(Hex.)
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
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
Long
Indirect
Indexed
ld A,([$10.w],X)
0000..FFFF
00..FF
word
+ 2
Relative
Direct
jrne loop
PC-128/PC+1271)
+1
Relative
Indirect
jrne [$10]
PC-128/PC+1271)
00..FF
byte
+ 2
Bit
Direct
bset $10,#7
00..FF
+ 1
Bit
Indirect
bset [$10],#7
00..FF
byte
+ 2
Bit
Direct
Relative
btjt $10,#7,skip
00..FF
+ 2
Bit
Indirect
Relative
btjt [$10],#7,skip 00..FF
00..FF
byte
+ 3
1
相關(guān)PDF資料
PDF描述
ST7PLITE05Y0B3 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDIP16
ST7FLITE09Y0B3 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDIP16
ST7PLU09MCTRE 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO8
ST7PLU05MAE 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO8
ST7PLU09MAE 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO8
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST7PLITE05Y0M6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
ST7PLITE05Y0M6TR 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-bit microcontroller with single voltage Flash memory, data EEPROM, ADC, timers, SPI
ST7PLITE05Y0U6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-bit microcontroller with single voltage Flash memory, data EEPROM, ADC, timers, SPI
ST7PLITE05Y0U6TR 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-bit microcontroller with single voltage Flash memory, data EEPROM, ADC, timers, SPI
ST7PLITE09F0U6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MICROCONTROLLER WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI