Fujitsu F2MC-8FX Hardware Manual page 578

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

APPENDIX C Instruction Overview
Immediate addressing
This is used when immediate data is needed in addressing shown "#d8" in the instruction table. In this
addressing, the operand becomes immediate data as it is. The specification of byte/word depends on the
operation code. Figure C.1-7 shows an example.
Vector addressing
This is used when branching to the subroutine address registered in the table with the addressing shown
"#vct" in the instruction table. In this addressing, information on "#vct" is contained in the operation code,
and the address of the table is created using the combinations shown in Table C.1-1.
Table C.1-1 Vector Table Address Corresponding to "#vct"
#vct
0
1
2
3
4
5
6
7
Figure C.1-8 shows an example.
564
Figure C.1-6 Example of General-purpose Register Addressing
MOV A, R 6
RP
0 1 0 1 0
B
Figure C.1-7 Example of Immediate Addressing
MOV A, #56
H
Vector table address (jump destination high-ranking address: subordinate address)
FFC0
: 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
Figure C.1-8 Example of Vector Addressing
CALLV #5
(Conversion)
0 1 5 6
A B
H
H
A
F F C A
F E
H
H
PC
F F C B
D C
H
H
A
A B
H
5 6
H
F E D C
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents