Fujitsu F2MC-8L F202RA Hardware Manual page 401

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

● General-purpose Register Addressing
The addressing, which is indicated by Ri in the instructions list, is used for accessing the register bank of
the general-purpose register area. In this addressing, the higher one byte of the address is fixed to 01. The
lower one byte is generated from the contents of RP (register bank pointer) and the lower three bits of the
operation code. The address is then accessed.
Figure B.1-6 shows an example.
Figure B.1-6 Example of General-purpose Register Addressing
● Immediate Addressing
The addressing, which is indicated by #d8 in the instructions list, is used when immediate data is required.
In this addressing, the operand directly becomes the immediate data. The specification of byte/word is
determined using the operation code.
Figure B.1-7 shows an example.
● Vector Addressing
The addressing, which is indicated by vct in the instructions list, is used for branching to a subroutine
registered in the table. In this addressing, the operation code includes the vct information, with the
addresses generated on the basis of the correspondence with the contents of Table B.1-1 .
Table B.1-1 Vector Table Address Corresponding to vct
#vct
0
1
2
3
4
5
6
7
MOV A , R 6
RP
0 1 0 1 0
B
Figure B.1-7 Example of Immediate Addressing
MOV A, # 56
H
Vector table address (Jump destination, higher address:lower address)
A
0 1 5 6
A B
H
H
56
A
FFCO
: FFC1
H
H
FFC2
: FFC3
H
H
FFC4
: FFC5
H
H
FFC6
: FFC7
H
H
FFC8
: FFC9
H
H
FFCA
: FFCB
H
H
FFCC
: FFCD
H
H
FFCE
: FFCF
H
H
A B
H
H
385

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents