Addressing; Figure B.1-1 Direct Addressing; Figure B.1-2 Extended Addressing - Fujitsu F2MC-8L Series Hardware Manual

8-bit microcontroller
Hide thumbs Also See for F2MC-8L Series:
Table of Contents

Advertisement

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
Addressing Modes
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.1-1 shows an example.
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.1-2 shows an example.

Figure B.1-1 Direct Addressing

MOV
12H,A

Figure B.1-2 Extended Addressing

MOVW
A,1234H
APPENDIX B Overview of Instructions
" and the operand specifies the
H
A
45
0012
H
H
1234
56
H
H
A
1235
78
H
H
" and "00FF
H
45
H
5678
H
".
H
309

Advertisement

Table of Contents
loading

Table of Contents