UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
164
Examples
•
If Register C6H contains the value
DDH
(11011101B) and the Carry flag is reset, the
statement:
RRC C6H
Object Code: C0 C6
leaves the value
6EH
(01101110B) in Register C6H, sets the C and V flags and clears
the Z and S flags.
•
If Register 2C contains the value
EDH
, Register EDH contains the value
00H
(00000000B) and the Carry flag is reset, the statement:
RRC @2CH
Object Code: C1 2C
leaves the value
00H
(00000000B) in Register EDH and resets the C, Z, S, and V
flags.