UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
98
Examples
•
If Register AB3H contains
16H
and Register
911H
contains
20H
, the statement:
CPX %AB3, %911
Object Code: A8 3B
sets the C and S flags, and clears the Z and V flags.
•
If Register 2
6CH
contains
2AH
, the statement:
CPX 26CH, #2AH
Object Code: A9 6C 2A
sets the Z flag and clears the C, S, and V flags.