Texas Instruments TMS320C3x 사용자 설명서

다운로드
페이지 757
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
0
LUF
0
LV
0
LV
0
UF
0
UF
0
N
0
N
1
Z
0
Z
0
V
0
V
0
C
0
C
0
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
0
LUF
0
LV
0
LV
0
UF
0
UF
0
N
0
N
0
Z
0
Z
0
V
0
V
0
C
0
C
0
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.