Fujitsu F2MCTM-16LX Hardware Manual page 605

16-bit microcontroller
Table of Contents

Advertisement

Program counter relative branch addressing (rel)
The address of the branch destination is a value determined by adding an 8-bit offset to the program
counter (PC) value. If the result of addition exceeds 16 bits, bank register incrementing or decrementing is
not performed and the excess part is ignored, and therefore the address is contained within a 64-Kbyte
bank. This addressing is used for both conditional and unconditional branch instructions. Address bits 16 to
23 are indicated by the program bank register (PCB).
Figure B.4-7 Example of Program Counter Relative Branch Addressing (rel)
(This instruction causes an unconditional relative branch.)
BRA 3B20
H
Before execution
After execution
Register list (rlst)
Specify a register to be pushed onto or popped from a stack.
Figure B.4-8 Configuration of the Register List
A register is selected when the corresponding bit is 1 and deselected when the bit is 0.
MSB
: Highest bit
LSB
: Lowest bit
PC
3 C 2 0
PCB
4 F
PC
3 B 2 0
PCB
4 F
MSB
RW7 RW6 RW5 RW4 RW3 RW2 RW1 RW0
APPENDIX B Instructions
Memory space
4F3B20
H
Next instruction
4F3C20
BRA 3B20
6 0
H
4F3C21
F E
H
4F3C22
F F
H
LSB
H
589

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents