Fujitsu F2MC-16LX Hardware Manual page 539

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

Advertisement

❍ Vector Addressing (#vct)
Specify vector data in an operand to indicate the branch destination address. There are two
sizes for vector numbers: 4 bits and 8 bits. Vector addressing is used for a subroutine call or
software interrupt instruction.
Figure B.3-11 Example of vector addressing (#vct)
CALLV #15
(This instruction causes a branch to the address indicated by the interrupt vector
specified in an operand.)
Before execution
After execution
Table B.3-2 CALLV vector list
Instruction
CALLV #0
CALLV #1
CALLV #2
CALLV #3
CALLV #4
CALLV #5
CALLV #6
CALLV #7
CALLV #8
CALLV #9
CALLV #10
CALLV #11
CALLV #12
CALLV #13
CALLV #14
CALLV #15
Note: A PCB register value is set in XX.
Note:
When the program bank register (PCB) is FF
#vct8 (#0 to #7). Use vector addressing carefully (see Table B.3-2 "CALLV vector list").
PC
0 0 0 0
PCB
F F
PC
D 0 0 0
PCB
F F
Vector address L
XXFFFE
H
XXFFFC
H
XXFFFA
H
XXFFF8
H
XXFFF6
H
XXFFF4
H
XXFFF2
H
XXFFF0
H
XXFFEE
H
XXFFEC
H
XXFFEA
H
XXFFE8
H
XXFFE6
H
XXFFE4
H
XXFFE2
H
XXFFE0
H
, the vector area overlaps the vector area of IN
H
APPENDIX B Instructions
Memory space
FFFFE1H
D 0
FFFFE0H
0 0
E F
FFC000H
CALLV #15
Vector address H
XXFFFF
H
XXFFFD
H
XXFFFB
H
XXFFF9
H
XXFFF7
H
XXFFF5
H
XXFFF3
H
XXFFF1
H
XXFFEF
H
XXFFED
H
XXFFEB
H
XXFFE9
H
XXFFE7
H
XXFFE5
H
XXFFE3
H
XXFFE1
H
523

Advertisement

Table of Contents
loading

Table of Contents