UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
152
Examples
•
If the Stack Pointer contains the value
D20H
, the statement:
PUSH FCH
Object Code: 70 FC
stores the contents of Register FCH in location D1FH. After the PUSH operation, the
Stack Pointer contains the value
D1FH
.
•
If the Stack Pointer contains the value
E61H
and Working Register R4 contains FCH,
the statement:
PUSH @R4
Object Code: 71 E4
stores the contents of Register FCH in location
E60H
. After the PUSH operation, the
Stack Pointer contains the value
E60H
.
•
If the Stack Pointer contains the value
D20H
,
the statement:
PUSH #FCH
Object Code: 1F70FC
Stores the value
FCH
in location
D1FH
. After the PUSH operation, the Stack Pointer
contains the value
D1FH
.