UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
173
Examples
•
If Working Register R6 contains the value
B1H
(10110001B), the statement:
SRL R6
Object Code: 1F C0 E6
leaves the value
58H
(01011000) in Working Register R6, sets the Carry flag and
clears the Z, V and S flags.
•
If Register C6 contains the value
DFH
, and Register DFH contains the value
F8H
(11111000B), the statement:
SRL @C6
Object Code: 1F C1 C6
leaves the value
7CH
(01111100B) in Register DFH and resets the C, Z, S and V flags.