Instruction Summary A-25
rfi Return from interrupt.
(PC)
← (SRR0).
(MSR)
← (SRR1).
9-145
rlwimi RA, RS, SH,
MB, ME
Rotate left word immediate, then insert according to
mask.
r
← ROTL((RS), SH)
m
← MASK(MB, ME)
(RA)
← (r ∧ m) ∨ ((RA) ∧¬m)
9-146
rlwimi. CR[CR0]
rlwinm RA, RS, SH,
MB, ME
Rotate left word immediate, then AND with mask.
r
← ROTL((RS), SH)
m
← MASK(MB, ME)
(RA)
← (r ∧ m)
9-147
rlwinm. CR[CR0]
rlwnm RA, RS, RB,
MB, ME
Rotate left word, then AND with mask.
r
← ROTL((RS), (RB)
27:31
)
m
← MASK(MB, ME)
(RA)
← (r ∧ m)
9-150
rlwnm. CR[CR0]
rotlw RA, RS, RB Rotate left.
(RA)
← ROTL((RS), (RB)
27:31
)
Extended mnemonic for
rlwnm RA,RS,RB,0,31
9-150
rotlw.
Extended mnemonic for
rlwnm. RA,RS,RB,0,31
CR[CR0]
rotlwi RA, RS, n Rotate left immediate.
(RA)
← ROTL((RS), n)
Extended mnemonic for
rlwinm RA,RS,n,0,31
9-147
rotlwi.
Extended mnemonic for
rlwinm. RA,RS,n,0,31
CR[CR0]
rotrwi RA, RS, n Rotate right immediate.
(RA)
← ROTL((RS), 32−n)
Extended mnemonic for
rlwinm RA,RS,32−n,0,31
9-147
rotrwi.
Extended mnemonic for
rlwinm. RA,RS,32−n,0,31
CR[CR0]
sc System call exception is generated.
(SRR1)
← (MSR)
(SRR0)
← (PC)
PC
← EVPR
0:15
|| x'0C00'
(MSR[WE, PR, EE, PE, DR, IR])
← 0
9-151
slw RA, RS, RB Shift left (RS) by (RB)
27:31
.
n
← (RB)
27:31.
r ← ROTL((RS), n).
if (RB)
26
= 0 then m ← MASK(0, 31 – n)
else m
←
32
0.
(RA)
← r ∧ m.
9-152
slw. CR[CR0]
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page