UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
139
Example
•
If Working Register R3 contains the value
16H
, the statement:
LEA R11, %15(R3)
Object Code: 98 B3 15
leaves the value
2BH
in Working Register R11. The flags are unaffected.
•
If Working Register R8 contains the value
22H
and Working Register R9 contains the
value
ABH
(16-bit value of
22ABH
stored in Working Register Pair RR8), the
statement:
LEA RR14, %79(RR8)
Object Code: 99 C8 79
leaves the 16-bit result of 2324H in Working Register Pair RR12, stores the most
significant byte value
23H
in Working Register R12 and stores the least significant
byte value
24H
in Working Register R13. The flags are unaffected.