English
Language : 

SM8521 Datasheet, PDF (9/56 Pages) Sharp Electrionic Components – 8-Bit Single-Chip Microcomputer
SM8521
Table 2 Addressing Mode Summary
NAME
SYMBOL
Range
Operand ∗1
Implied
To specify the carry(C) and interrupt enable
(I) in the instruction code.
Register
r
r = R0-R7
General register [byte]
Register pair
rr
r = RR0, RR2, … , RR14
General register [word]
Register file
R
R = 0 to 255 (R0-R15)
Register file (0000H-007FH) and (0080H-00FFH)
[byte]
Register file pair
R = 0, 2, … 254
RR
(RR0, RR2, … , RR14)
Register file (0000H-007FH) and (0080H-00FFH)
[byte]
Register indirect
@r r = R0-R7
Memory (0000H-00FFH) [byte]
Register indirect
auto increment
(r)+ r = R0-R7
Memory (0000H-00FFH) [byte]
Register indirect
auto decrement
Register index
–(r)
n(r)∗2
r = R0-R7
n = 00H-FFH, r = R1-R7
Memory (0000H-00FFH) [byte]
Memory (0000H-00FFH) [byte]
Register pair indirect @rr rr = RR0, RR2, … , RR14
Memory (0000H-FFFFH) [word/byte]
Register pair indirect
auto increment
(rr)+ rr = RR0, RR2, … , RR14
Memory (0000H-FFFFH) [word/byte]
Register pair indirect
–(rr) rr = RR0, RR2, … , RR14
auto decrement
Memory (0000H-FFFFH) [word/byte]
Register pair index
nn(rr)∗3 nn = 0000H-FFFFH
rr = RR2, RR4, … , RR14
Memory (0000H-FFFFH) [word/byte]
Index indirect
@nn(r)∗2 nn = 0000H-FFFFH
r = R1-R7
Memory (0000H-FFFFH) [word]
Immediate
IM
IM = 00H-FFH
The immediate data in the instruction code [byte]
Immediate long
IML IML = 0000H-FFFFH
The immediate data in the instruction code [word]
Register file (0000H-007FH) and memory
Bit
b
b = 0 to 7
(0080H-00FFH, FF00H-FFFFH) [bit] (1 bit of 1 byte
pointed by R, n(r) and DAp)
Port
p
Register file (0010H-0017H) [byte]
Relative
RA PC – 128 to PC + 127
Program memory (1000H-FFFFH)
Direct
DA
DA = 0000H-FFFFH
Memory (0000H-FFFFH) [byte]
Direct short
DAs DAs = 1000H-1FFFH
Program memory (1000H-1FFFH)
Direct special page
DAp DAp = FF00H-FFFFH
Program memory (FF00H-FFFFH) [byte]
Direct indirect
∗1 The data indicated by [
∗2 R0 can not be used.
∗3 RR0 can not be used.
@DA DA = 0000H-FFFFH
Memory (0000H-FFFFH)
] is the unit of possible to use in Load and Arithmetic Instructions.
-9-