MPYI3
Multiply Integer, 3-Operand
13-162
Example 1
MPYI3 *AR4,*–AR1(1),R2
Before Instruction
After Instruction
R2
00 0000 0000
R2
00 0000 94AC
AR1
80 98F3
AR1
80 98F3
AR4
80 9850
AR4
80 9850
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
809850h
0AD
809850h
0AD
8098F2h
0DC
8098F2h
0DC
173
38,060
220
173
220
Example 2
MPYI3 *
– –
AR4(IR0),R2,R7
Before Instruction
After Instruction
R2
00 0000 00C8
R2
00 0000 00C8
R7
00 0000 0000
R7
00 0000 2710
AR4
80 99F8
AR4
80 99F0
IR0
8
IR0
8
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
8099F0h
32
8099F0h
32
200
200
50
50
10,000
Note:
Cycle Count
See Section 8.5.2,
Data Loads and Stores, on page 8-24 for the effects of
operand ordering on the cycle count.