User’s Manual
Preliminary PPC440x5 CPU Core
instalfa.fm.
September 12, 2002
Page 549 of 589
rfi
Return from interrupt.
(PC) ← (SRR0).
(MSR) ← (SRR1).
397
rfmci
Return from machine check interrupt
(PC) ← (MCSRR0).
(MSR) ← (MCSRR1).
398
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)
399
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)
400
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)
403
rlwnm.
CR[CR0]
rotlw
RA, RS, RB
Rotate left.
(RA) ← ROTL((RS), (RB)
27:31
)
Extended mnemonic for
rlwnm RA,RS,RB,0,31
403
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
400
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
400
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
|| 0x0C00
(MSR[WE, PR, EE, PE, DR, IR]) ← 0
404
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.
405
slw.
CR[CR0]
Table A-1. PPC440x5 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed
Page