Fujitsu MB95630H Series Hardware Manual page 630

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

APPENDIX A Instruction Overview
A.1 Addressing
Bit direct addressing
This is used when accessing the direct area of "0x0000" to "0x047F" in bit unit with addressing
indicated "dir:b" in instruction table. In this addressing, when the operand address is "0x00" to
"0x7F", it is accessed into "0x0000" to "0x007F". Moreover, when the operand address is
"0x80" to "0xFF", the access can be mapped in "0x0080" to "0x047F" by setting of direct bank
pointer DP. The position of the bit in the specified address is specified by the values of the
instruction code of three subordinate position bits.
Figure A.1-3 shows an example.
Index addressing
This is used when the area of the entire 64 Kbyte 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 A.1-4 shows an example.
Pointer addressing
This is used when the area of the entire 64 Kbyte 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 A.1-5 shows an example.
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 A.1-6
shows an example.
610
Figure A.1-3 Example of Bit Direct Addressing
SETB 34H : 2
DP
0bXXX
Figure A.1-4 Example of Index Addressing
MOVW A, @IX+ 5AH
IX
0x27A5
Figure A.1-5 Example of Pointer Addressing
MOVW A, @EP
EP
0x27A5
FUJITSU SEMICONDUCTOR LIMITED
7 6 5 4 3 2 1 0
0x0034
0bXXXXX1XX
0x27FF
0x12
A
0x2800
0x34
0x27A5
0x12
A
0x27A6
0x34
MB95630H Series
0x1234
0x1234
MN702-00009-1v0-E

Advertisement

Table of Contents
loading

Table of Contents