UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
113
Examples
•
If Working Register R10 contains the value
2AH
, the statement:
INC R10
Object Code: AE
leaves the value
2BH
in Working Register R10 and clears the Z, V, and S flags.
•
If Register B3H contains the value
CBH
, the statement:
INC B3H
Object Code: 20 B3
leaves the value
CCH
in Register CBH, sets the S flag and clears the Z and V flags.
•
If Register B3H contains
CBH
and Register CBH contains
FFH
, the statement:
INC @B3H
Object Code: 21 B3
leaves the value
00H
in Register CBH, sets the Z flag and clears the V and S flags.