Fujitsu MB90335 Series Hardware Manual page 571

16-bit microcontroller
Table of Contents

Advertisement

APPENDIX B Instructions
B.4 Indirect Addressing
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-kilobyte
bank. This addressing is used for both conditional and unconditional branch instructions. Address bits 16 to
23 are indicated by the program counter bank register (PCB).
Figure B.4-7 Example of Program Counter Relative Branch Addressing (rel)
BRA 3C32H (This instruction causes an unconditional relative branch.)
Before execution
After execution
Register list (rlst)
Specify a register to be pushed onto or popped from a stack.
A register is selected when the corresponding bit is 1 and deselected when the bit is 0.
550
PC 3 C 2 0
PCB 4 F
PC 3 C 3 2
PCB 4 F
Figure B.4-8 Configuration of the Register List
MSB
RW7 RW6 RW5 RW4 RW3 RW2 RW1 RW0
FUJITSU MICROELECTRONICS LIMITED
MB90335 Series
Memory space
4F3C32
H Next instruction
4F3C21
1 0
H
4F3C20
6 0
BRA 3C32
H
LSB
H
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents