Example 1
If the contents of the PC are 1A47h and the contents of the SP (Registers
3002h, the statement:
CALL 3521h
Op Code: D6 35 21
causes the SP to be decremented to
instruction) to be stored in external data memory 3000 and 3001h, and the PC to be loaded
with
3521h
executed.
Example 2
If the contents of the PC are 1A47h, the contents of the SP (Register
contents of Register A4h are
statement:
CALL @A4h
Op Code: D4 A4
causes the SP to be decremented to
tion) to be stored in
points to the address of the first statement in the procedure to be executed.
UM001604-0108
. The PC now points to the address of the first statement in the procedure to be
, and the contents of Register Pair
34h
and
, and the PC to be loaded with
R70h
71h
,
(the address following the CALL
3000h
1A4Ah
,
(the address following the CALL instruc-
70h
1A4Ah
®
Z8
CPU
User Manual
and
) are
FEh
FFh
) are 72h, the
FFh
are
, the
34h
3521h
. The PC now
3521h
Instruction Description
165
Need help?
Do you have a question about the Z8 Series and is the answer not in the manual?