UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
179
Examples
•
If Working Register R3 contains the value
16H
, and Working Register R11 contains
the value
20H
, the statement:
•
If Register 234H contains the value
2EH
, and Register 912H contains the value
1BH
,
the statement:
SUBX 234H, 912H
Object Code: 28 91 22 34
leaves the value
13H
in Register 234H, sets the D flag and clears the C, Z, S, V and H
flags.
•
If Register 56CH contains the value
2AH
, the statement:
SUBX 56CH, #03H
Object Code: 29 03 05 6C
leaves the value
27H
in Register 56CH, sets the D flag and clears the C, Z, S, V and H
flags.