A-24 PPC405 Core User’s Manual
nmachhw RT, RA, RB nprod
0:31
← –((RA)
0:15
x (RB)
0:15
) signed
temp
0:32
← nprod
0:31
+ (RT)
(RT)
← temp
1:32
9-135
nmachhw. CR[CR0]
nmachhwo XER[SO, OV]
nmachhwo. CR[CR0]
XER[SO, OV]
nmachhws RT, RA, RB nprod
0:31
← –((RA)
0:15
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-137
nmachhws. CR[CR0]
nmachhwso XER[SO, OV]
nmachhwso. CR[CR0]
XER[SO, OV]
nmachlw RT, RA, RB nprod
0:31
← –((RA)
16:31
x (RB)
16:31
) 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-138
nmachlw. CR[CR0]
nmachlwo XER[SO, OV]
nmachlwo. CR[CR0]
XER[SO, OV]
nmachlws RT, RA, RB nprod
0:31
← –((RA)
0:15
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-136
nmachlws. CR[CR0]
nmachlwso XER[SO, OV]
nmachlwso. CR[CR0]
XER[SO, OV]
nop Preferred no-op, triggers optimizations based on
no-ops.
Extended mnemonic for
ori 0,0,0
9-134
nor RA, RS, RB NOR (RS) with (RB).
Place result in RA.
9-139
nor. CR[CR0]
not RA, RS Complement register.
(RA)
←¬(RS)
Extended mnemonic for
nor RA,RS,RS
9-139
not.
Extended mnemonic for
nor. RA,RS,RS
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-134
oris RA, RS, IM OR (RS) with (IM
||
16
0).
Place result in RA.
9-143
rfci Return from critical interrupt
(PC)
← (SRR2).
(MSR)
← (SRR3).
9-144
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page