B Instructions
B.1 Addressing
2
The F
MC-8L supports the following ten addressing modes:
• Direct addressing
• Extended addressing
• Bit direct addressing
• Index addressing
• Pointer addressing
• General-purpose register addressing
• Immediate addressing
• Vector addressing
• Relative addressing
• Inherent addressing
n Addressing Modes
l
Direct addressing
Indicated by "dir" in the instruction list. Used to access the area between "0000
For direct addressing, the upper one byte of the address is "00
lower one byte. Figure B.1a shows an example.
l
Extended addressing
Indicated by "ext" in the instruction list. Used to access the entire 64-Kbyte area. For extended
addressing, the first operand specifies the upper one byte of the address and the second
operand specifies the lower one byte. Figure B.1b shows an example.
Bit direct addressing
l
Indicated by "dir: b" in the instruction list. Used to access the area between "0000
"00FF
H
operand specifies the lower one byte of the address, and the lower three bits of the operation
code specify the bit position. Figure B.1c shows an example.
274
APPENDIX
MOV
12H,A
Figure B.1a Direct Addressing
MOVW
A,1234H
Figure B.1b Extended Addressing
" in bit units. For bit direct addressing, the upper one byte of the address is "00
SETB
34H : 2
Figure B.1c Bit Direct Addressing
" and the operand specifies the
H
45
A
0012
H
H
1234
56
H
H
A
1235
78
H
H
7 6 5 4 3 2 1 0
0034
XXXXX1 XX
H
B
" and "00FF
H
45
H
5678
H
" and
H
", the
H
MB89620 series
".
H