Fujitsu 8FX Hardware Manual page 638

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

APPENDIX A Instruction Overview
A.1 Addressing
Relative addressing
This is used when branching to the area in 128 bytes before and behind PC (program counter)
with the addressing shown "rel" in the instruction table. In this addressing, add the content of
the operand to PC with the sign and store the result in PC. Figure A.1-9 shows an example.
Old PC
In this example, by jumping to the address where the operation code of BNE is stored, it results
in an infinite loop.
Inherent addressing
This is used when doing the operation decided by the operation code with the addressing that
does not have the operand in the instruction table. In this addressing, the operation depends on
each instruction. Figure A.1-10 shows an example.
NOP
Old PC
616
Figure A.1-9 Example of Relative Addressing
BNE FEH
0x9ABC
Figure A.1-10 Example of Inherent Addressing
0x9ABC
FUJITSU SEMICONDUCTOR LIMITED
0x9ABC + 0xFFFE
New PC
MB95630H Series
New PC
0x9ABA
0x9ABD
MN702-00009-2v0-E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents