Fujitsu F2MC-8FX Hardware Manual page 577

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

Bit direct addressing
This is used when accessing the direct area of "0000
"dir:b" in instruction table. In this addressing, when the operand address is "00
into "0000
" to "007F
H
mapped in "0080
" to "047F
H
address is specified by the values of the instruction code of three subordinate position bits.
Figure C.1-3 shows an example.
Figure C.1-3 Example of Bit Direct Addressing
DP
Index addressing
This is used when the area of the entire 64 K bytes is accessed by addressing shown "@IX+off" in the
instruction table. In this addressing, the content of the first operand is sign extended and added to IX (index
register) to the resulting address. Figure C.1-4 shows an example.
Figure C.1-4 Example of Index Addressing
MOVW A, @IX+ 5AH
IX
2 7 A 5
Pointer addressing
This is used when the area of the entire 64 K bytes is accessed by addressing shown "@EP" in the
instruction table. In this addressing, the content of EP (extra pointer) is assumed to be an address. Figure
C.1-5 shows an example.
Figure C.1-5 Example of Pointer Addressing
MOVW A, @EP
EP
2 7 A 5
General-purpose register addressing
This is used when accessing the register bank in general-purpose register area with the addressing shown
"Ri" in instruction table. In this addressing, fix one high rank byte of the address to "01" and create one
subordinate position byte from the contents of RP (register bank pointer) and three subordinate bits of the
operation code to access to this address. Figure C.1-6 shows an example.
". Moreover, when the operand address is "80
H
" by setting of direct bank pointer DP. The position of the bit in the specified
H
SETB 34H : 2
xxx
B
2 7 F F
H
H
2 8 0 0
H
2 7 A 5
H
H
2 7 A 6
H
APPENDIX C Instruction Overview
" to "047F
" in bit unit with addressing indicated
H
H
7 6 5 4 3 2 1 0
0 0 3 4
XXXXX1XX
H
B
1 2
H
A
1 2 3 4
3 4
H
1 2
H
A
1 2 3 4
3 4
H
" to "7F
", it is accessed
H
H
" to "FF
", the access can be
H
H
H
H
563

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents