IBM SA14-2339-04 Personal Computer User Manual


 
Instruction Summary A-23
mulhhw RT, RA, RB (RT)
0:31
(RA)
0:15
x (RB)
0:15
signed 9-123
mulhhw. CR[CR0]
mulhhwu RT, RA, RB (RT)
0:31
(RA)
0:15
x (RB)
0:15
unsigned 9-124
mulhhwu. CR[CR0]
mullhw RT, RA, RB (RT)
0:31
(RA)
16:31
x (RB)
16:31
signed 9-125
mullhw. CR[CR0]
mullhwu RT, RA, RB (RT)
16:31
(RA)
16:31
x (RB)
16:31
unsigned 9-126
mullhwu. CR[CR0]
mulhw RT, RA, RB Multiply (RA) and (RB), signed.
Place high-order result in RT.
prod
0:63
(RA) × (RB) (signed).
(RT)
prod
0:31.
9-127
mulhw. CR[CR0]
mulhwu RT, RA, RB Multiply (RA) and (RB), unsigned.
Place high-order result in RT.
prod
0:63
(RA) × (RB) (unsigned).
(RT)
prod
0:31.
9-128
mulhwu. CR[CR0]
mulli RT, RA, IM Multiply (RA) and IM, signed.
Place low-order result in RT.
prod
0:47
(RA) × IM (signed)
(RT)
prod
16:47
9-129
mullw RT, RA, RB Multiply (RA) and (RB), signed.
Place low-order result in RT.
prod
0:63
(RA) × (RB) (signed).
(RT)
prod
32:63.
9-130
mullw. CR[CR0]
mullwo XER[SO, OV]
mullwo. CR[CR0]
XER[SO, OV]
nand RA, RS, RB NAND (RS) with (RB).
Place result in RA.
9-131
nand. CR[CR0]
neg RT, RA Negative (twos complement) of RA.
(RT)
←¬(RA) + 1
9-132
neg. CR[CR0]
nego XER[SO, OV]
nego. CR[CR0]
XER[SO, OV]
nmacchw RT, RA, RB nprod
0:31
–((RA)
16:31
x (RB)
0:15
) signed
temp
0:32
nprod
0:31
+ (RT)
(RT)
temp
1:32
9-133
nmacchw. CR[CR0]
nmacchwo XER[SO, OV]
nmacchwo. CR[CR0]
XER[SO, OV]
nmacchws RT, RA, RB nprod
0:31
–((RA)
16:31
x (RB)
0:15
) signed
temp
0:32
nprod
0:31
+ (RT)
if ((nprod
0
= RT
0
) (RT
0
temp
1
)) then
(RT)
(RT
0
||
31
(¬RT
0
))
else (RT)
temp
1:32
9-134
nmacchws. CR[CR0]
nmacchwso XER[SO, OV]
nmacchwso. CR[CR0]
XER[SO, OV]
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page