NEC 78K/0 Series User Manual page 94

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

CALL
[Instruction format]
[Operation]
[Operand]
Mnemonic
CALL
!addr16
[Flag]
Z
AC
[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
94
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
CALL target
(SP–1) ← (PC+3)
,
H
(SP–2) ← (PC+3)
,
L
← SP–2,
SP
← target
PC
Operand(target)
CY
User's Manual U12326EJ4V0UM
Subroutine Call (16 Bit Direct)
Call

Advertisement

Table of Contents
loading

Table of Contents