CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User’s Manual U11047EJ3V0UM00
93
CALL
Call
Subroutine Call (16 Bit Direct)
[Instruction format]
CALL target
[Operation]
(SP – 1)
←
(PC + 3)
H
,
(SP – 2)
←
(PC + 3)
L
,
SP
←
SP – 2,
PC
←
target
[Operand]
Mnemonic
Operand (target)
CALL
!addr16
[Flag]
Z
AC
CY
[Description]
•
This is a subroutine call with a 16-bit absolute address or a register indirect address.
•
The next instruction’s start address (PC + 3) is saved in the stack and is branched to the address specified
with the target operand (target).
[Description example]
CALL !3059H; Subroutine call to 3059H
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 ...