|
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 ï¬rst instruction following the CALL
instruction) are pushed onto the top of the Stack, and the speciï¬ed desti-
nation address is then loaded into the PC. The PC now points to the ï¬rst
instruction of the procedure.
At the end of the procedure a RET (return) instruction can be used to
return to the original program ï¬ow. 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
|
▷ |