UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
198
Examples
•
If Register 93AH contains the value
F5H
(11110101B) and Register
142H
contains the
value
6AH
(01101010), the statement:
XORX 93AH, 142H
Object Code: B8 14 29 3A
leaves the value
9FH
(10011111B) in Register 93AH, sets the S flag and clears the Z
and V flags.
•
If Register D7AH contains the value
07H
(00000111B), the statement:
XORX D7AH, #01100110B
Object Code: B9 66 0D 7A
leaves the value
61H
(01100001B) in Register 7AH and clears the S, Z and V flags.