Fujitsu F2MC-16LX Hardware Manual page 635

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Direct branch address (addr16)
Specify an offset explicitly for the branch destination address. The size of the offset is 16 bits, which
indicates the branch destination in the logical address space. Used for unconditional branch instructions,
subroutine call instructions and software interrupt instructions. Bit 23 to Bit16 of the address are specified
by the programming bank register (PCB).
Figure B.3-3 Example of Direct Branch Addressing (addr16)
JMP 3B20H
Before execution
After execution
Physical direct branch address (addr24)
Specify an offset explicitly for the branch destination address. The data length of the displacement (offset)
is 24 bits. Used for unconditional branch instructions, subroutine call instructions and software interrupt
instructions.
Figure B.3-4 Example of Direct Branch Addressing (addr24)
JMPP 333B20H
Before execution
After execution
(This instruction causes an unconditional branch by direct
branch addressing in a bank.)
PC
3 C 2 0
PCB
PC
3 B 2 0
PCB
(This instruction causes an unconditional branch by direct
branch addressing 24-bit.)
PC
3 C 2 0
PC
3 B 2 0
Memory space
4 F
4F3C22
3 B
H
4F3C21
2 0
H
4F3C20
6 2
H
4 F
4F3B20
Next instruction
H
JMP 3B20H
PCB
4 F
Memory space
4F3C23
3 3
H
4F3C22
3 B
H
4F3C21
2 0
H
4F3C20
6 3
H
333B20
PCB
3 3
Next instruction
JMPP 333B20H
Appendix B Instruction
619

Advertisement

Table of Contents
loading

Table of Contents