SUBI3

Subtract Integer, 3-Operand

13-236

Example 1 SUBI3 R7,R2,R0

Before Instruction After Instruction
R0 00 0000 0000 R0 00 0000 0032
R2 00 0000 0866 R2 00 0000 0866
R7 00 0000 0834 R7 00 0000 0834
LUF 0LUF 0
LV 0LV 0
UF 0UF 0
N0N1
Z0Z0
V0V0
C0C0
50
2100
2150
2100
2150

Example 2 SUBI3 *–AR2(1),R4,R3

Before Instruction After Instruction
R3 00 0000 0000 R3 00 0000 014A
R4 00 0000 0226 R4 00 0000 0226
AR2 80 985E AR2 80 985E
LUF 0LUF 0
LV 0LV 0
UF 0UF 0
N0N0
Z0Z0
V0V0
C0C0
Data memory
80985Dh 0DC 80985Dh 0DC
220
550
330
550
220
Note: Cycle Count

See subsection 8.5.2,

Data Loads and Stores
, on page 8-24 for the effects
of operand ordering on the cycle count.