Call – NEC 78K/0 Series User Manual
Page 94
94
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
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 start address (PC+3) of the next instruction is saved in the stack and is branched to the address specified
by the target operand (target).
[Description example]
CALL !3059H; Subroutine call to 3059H