IBM SA14-2339-04 Personal Computer User Manual


 
Instructions by Category B-35
extsh RA, RS Extend the sign of halfword (RS)
16:31
.
Place the result in RA.
9-64
extsh. CR[CR0]
mulhw RT, RA, RB Multiply (RA) and (RB), signed.
Place hi-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 hi-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 lo-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 lo-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 (two’s complement) of RA.
(RT)
←¬(RA) + 1
9-132
neg. CR[CR0]
nego XER[SO, OV]
nego. CR[CR0]
XER[SO, OV]
nor RA, RS, RB NOR (RS) with (RB).
Place result in RA.
9-139
nor. CR[CR0]
or RA, RS, RB OR (RS) with (RB).
Place result in RA.
9-134
or. CR[CR0]
orc RA, RS, RB OR (RS) with
¬(RB).
Place result in RA.
9-134
orc. CR[CR0]
ori RA, RS, IM OR (RS) with (
16
0 || IM).
Place result in RA.
9-142
oris RA, RS, IM OR (RS) with (IM
||
16
0).
Place result in RA.
9-143
Table B-7. Arithmetic and Logical Instructions (continued)
Mnemonic Operands Function
Other Registers
Changed Page