English
Language : 

Z86E3016PSG Datasheet, PDF (250/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
232
Call Procedure
CALL dst
Instruction Format
OPC
OPC
dst
dst
Cycles
20
OPC Address Mode
(Hex)
dst
D6
DA
20
D4
IRR
Operation
SP ← SP–2
@SP ← PC
PC ← dst
The Stack pointer is decremented by two, the current contents of the Pro-
gram Counter (PC) (address of the first instruction following the CALL
instruction) are pushed onto the top of the Stack, and the specified desti-
nation address is then loaded into the PC. The PC now points to the first
instruction of the procedure.
At the end of the procedure a RET (return) instruction can be used to
return to the original program flow. RET will pop the top of the Stack and
replace the original value into the PC.
Flag
C
Z
S
V
D
H
Description
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Instruction Description
UM001602-0904