Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
224
Example 1
If the contents of Working Register R6 are 31h (00110001B), the statement:
RR R6
Op Code: E0 E6
leaves the value 98h (10011000) in Working Register R6. The C, V, and S Flags are set,
and the Z Flag is cleared.
Example 2
If the contents of Register C6 are 31h and the contents of Register 31h are 7Eh
(
01111110b), the statement:
RR @C6
Op Code: E1 C6
leaves the value 4Fh (00111111) in Register 31h. The C, Z, V, and S Flags are cleared.
Edst