CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User’s Manual U11047EJ3V0UM00
94
CALLT
Call Table
Subroutine Call (Call Table Reference)
[Instruction format]
CALLT [addr5]
[Operation]
(SP – 1)
←
(PC + 1)
H
,
(SP – 2)
←
(PC + 1)
L
,
SP
←
SP – 2,
PC
H
←
(00000000,addr5 + 1)
PC
L
←
(00000000,addr5)
[Operand]
Mnemonic
Operand ([addr5])
CALLT
[addr5]
[Flag]
Z
AC
CY
[Description]
•
This is a subroutine call for call table reference.
•
The next instruction’s start address (PC + 1) is saved in the stack and is branched to the address indicated
with the word data of a call table (the higher 8 bits of address are fixed to 00000000B and the following 5 bits
are specified with addr5).
[Description example]
CALLT [40H]; Subroutine call to the addresses indicated by word data of 0040H and 0041H.
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...