
585
APPENDIX B Instructions
●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)
Note:
When the program bank register (PCB) is FFH, the vector area overlaps the vector area of INT #vct8
(#0 to #7). Use vector addressing carefully (see Table B.3-2 ).
Table B.3-2 CALLV Vector List
Instruction Vector address L Vector address H
CALLV #0 XXFFFEHXXFFFFH
CALLV #1 XXFFFCHXXFFFDH
CALLV #2 XXFFFAHXXFFFBH
CALLV #3 XXFFF8HXXFFF9H
CALLV #4 XXFFF6HXXFFF7H
CALLV #5 XXFFF4HXXFFF5H
CALLV #6 XXFFF2HXXFFF3H
CALLV #7 XXFFF0HXXFFF1H
CALLV #8 XXFFEEHXXFFEFH
CALLV #9 XXFFECHXXFFEDH
CALLV #10 XXFFEAHXXFFEBH
CALLV #11 XXFFE8HXXFFE9H
CALLV #12 XXFFE6HXXFFE7H
CALLV #13 XXFFE4HXXFFE5H
CALLV #14 XXFFE2HXXFFE3H
CALLV #15 XXFFE0HXXFFE1H
Note: A PCB register value is set in XX.
CALLV #15
0 0 0 0PC
F FPCB
F F
D 0
D 0 0 0PC
PCB
FFFFE1H
0 0
FFFFE0H
E F
FFC000H CALLV #15
Before execution
After execution
Memory space
(This instruction causes a branch to the address indicated by the interrupt vector
specified in an operand.)