IBM SA14-2339-04 Personal Computer User Manual


 
A-26 PPC405 Core User’s Manual
slwi RA, RS, n Shift left immediate. (n < 32)
(RA)
0:31n
(RS)
n:31
(RA)
32n:31
n
0
Extended mnemonic for
rlwinm RA,RS,n,0,31n
9-147
slwi.
Extended mnemonic for
rlwinm. RA,RS,n,0,31n
CR[CR0]
sraw RA, RS, RB Shift right algebraic (RS) by (RB)
27:31
.
n
(RB)
27:31
.
r ROTL((RS), 32 – n).
if (RB)
26
= 0 then m MASK(n, 31)
else m
32
0.
s
(RS)
0.
(RA) (r m) (
32
s ∧¬m).
XER[CA]
s ((r ∧¬m) 0).
9-153
sraw. CR[CR0]
srawi RA, RS, SH Shift right algebraic (RS) by SH.
n
SH.
r
ROTL((RS), 32 – n).
m
MASK(n, 31).
s
(RS)
0.
(RA) (r m) (
32
s ∧¬m).
XER[CA]
s ((r ∧¬m)0).
9-154
srawi. CR[CR0]
srw RA, RS, RB Shift right (RS) by (RB)
27:31
.
n
(RB)
27:31
.
r ROTL((RS), 32 – n).
if (RB)
26
= 0 then m MASK(n, 31)
else m
32
0.
(RA)
r m.
9-155
srw. CR[CR0]
srwi RA, RS, n Shift right immediate. (n < 32)
(RA)
n:31
(RS)
0:31n
(RA)
0:n1
n
0
Extended mnemonic for
rlwinm RA,RS,32n,n,31
9-147
srwi.
Extended mnemonic for
rlwinm. RA,RS,32n,n,31
CR[CR0]
stb RS, D(RA) Store byte (RS)
24:31
in memory at
EA = (RA|0) + EXTS(D).
9-156
stbu RS, D(RA) Store byte (RS)
24:31
in memory at
EA = (RA|0) + EXTS(D).
Update the base address,
(RA)
EA.
9-157
stbux RS, RA, RB Store byte (RS)
24:31
in memory at
EA = (RA|0) + (RB).
Update the base address,
(RA)
EA.
9-158
stbx RS, RA, RB Store byte (RS)
24:31
in memory at
EA = (RA|0) + (RB).
9-159
sth RS, D(RA) Store halfword (RS)
16:31
in memory at
EA = (RA|0) + EXTS(D).
9-160
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page