Computer Hardware User's Guide

MPYF3
Multiply Floating-Point Value, 3-Operand
13-148
Example 1 MPYF3 R0,R7,R1
Before Instruction After Instruction
R0 05 7B40 0000 R0 05 7B40 0000
R1 00 0000 0000 R1 0D 306A 3000
R7 07 33C0 0000 R7 07 33C0 0000
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
1.79750e+02
6.281250e+01
1.12905469e+04
6.281250e+01
1.79750e+02
Example 2 MPYF3 *+AR2(IR0),R7,R2
or
MPYF3 R7,*+AR2(IR0),R2
Before Instruction After Instruction
R2 00 0000 0000 R2 0D 09E4 A000
R7 05 7B40 0000 R7 05 7B40 0000
AR2 80 9800 AR2 80 9800
IR0 12A IR0 12A
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
80992Ah 70C8000 80992Ah 70C8000
8.82515625e+03
6.281250e+01
1.4050e+02
6.281250e+01
1.4050e+02
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.