AMCC Proprietary 419
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
lswx RT, RA, RB Load consecutive bytes from EA=(RA|0)+(RB).
Number of bytes n = XER[TBC].
Stack bytes into words in CEIL(
n/4) consecutive registers starting
with RT, to
R
FINAL
← ((RT + CEIL(n/4) – 1) % 32).
GPR(0) is consecutive to GPR(31).
RA is not altered unless RA = R
FINAL
.
RB is not altered unless RB = R
FINAL
.
If
n=0, content of RT is undefined.
241
lwarx RT, RA, RB Load word from EA = (RA|0) + (RB)and place in RT,
(RT)
← MS(EA,4).
Set the Reservation bit.
243
lwbrx RT, RA, RB Load word from EA = (RA|0) + (RB) then reverse byte order,
(RT)
← MS(EA+3,1) || MS(EA+2,1) ||
MS(EA+1,1) || MS(EA,1).
244
lwz RT, D(RA) Load word from EA = (RA|0) + EXTS(D) and place in RT,
(RT) ← MS(EA,4).
245
lwzu RT, D(RA) Load word from EA = (RA|0) + EXTS(D) and place in RT,
(RT)
← MS(EA,4).
Update the base address,
(RA) ← EA.
246
lwzux RT, RA, RB Load word from EA = (RA|0) + (RB) and place in RT,
(RT) ← MS(EA,4).
Update the base address,
(RA)
← EA.
247
lwzx RT, RA, RB Load word from EA = (RA|0) + (RB) and place in RT,
(RT) ← MS(EA,4).
248
stb RS, D(RA) Store byte (RS)
24:31
in memory at
EA = (RA|0) + EXTS(D).
308
stbu RS, D(RA) Store byte (RS)
24:31
in memory at
EA = (RA|0) + EXTS(D).
Update the base address,
(RA)
← EA.
309
stbux RS, RA, RB Store byte (RS)
24:31
in memory at
EA = (RA|0) + (RB).
Update the base address,
(RA)
← EA.
310
stbx RS, RA, RB Store byte (RS)
24:31
in memory at
EA = (RA|0) + (RB).
311
sth RS, D(RA) Store halfword (RS)
16:31
in memory at
EA = (RA|0) + EXTS(D).
312
sthbrx RS, RA, RB Store halfword (RS)
16:31
byte-reversed in memory at
EA = (RA|0) + (RB).
MS(EA, 2)
← (RS)
24:31
|| (RS)
16:23
313
sthu RS, D(RA) Store halfword (RS)
16:31
in memory at
EA = (RA|0) + EXTS(D).
Update the base address,
(RA)
← EA.
314
sthux RS, RA, RB Store halfword (RS)
16:31
in memory at
EA = (RA|0) + (RB).
Update the base address,
(RA)
← EA.
315
sthx RS, RA, RB Store halfword (RS)
16:31
in memory at
EA = (RA|0) + (RB).
316
stmw RS, D(RA) Store consecutive words from RS through GPR(31) in memory
starting at
EA = (RA|0) + EXTS(D).
317
Table B-6. Storage Reference Instructions (Continued)
Mnemonic Operands Function
Other Registers
Changed
Page