UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
168
Examples
•
If Register 346H contains the value
2EH
, the Carry flag is set, and Register 129H
contains the value
1BH
, the statement:
SBCX 346H, 129H
Object Code: 38 12 93 46
leaves the value
12H
in Register 346H, sets the D flag and clears the C, Z, S, V and H
flags.
•
If Register C6CH contains the value
2AH
and the Carry flag is not set, the statement:
SBCX C6CH, #03H
Object Code: 39 03 0C 6C
leaves the value
27H
in Register C6CH, sets the. D flag and clears the C, Z, S, V and
H.