IBM SA14-2339-04 Personal Computer User Manual


 
B-30 PPC405 Core User’s Manual
lhzu RT, D(RA) Load halfword from EA = (RA|0) + EXTS(D) and pad
left with zeroes,
(RT)
16
0 || MS(EA,2).
Update the base address,
(RA)
EA.
9-80
lhzux RT, RA, RB Load halfword from EA = (RA|0) + (RB) and pad left
with zeroes,
(RT)
16
0 || MS(EA,2).
Update the base address,
(RA)
EA.
9-82
lhzx RT, RA, RB Load halfword from EA = (RA|0) + (RB) and pad left
with zeroes,
(RT)
16
0 || MS(EA,2).
9-83
lmw RT, D(RA) Load multiple words starting from
EA = (RA|0) + EXTS(D).
Place into consecutive registers, RT through
GPR(31).
RA is not altered unless RA = GPR(31).
9-84
lswi RT, RA, NB Load consecutive bytes from EA = (RA|0).
Number of bytes
n
= 32 if NB = 0, else
n
=NB.
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
.
9-85
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.
9-87
lwarx RT, RA, RB Load word from EA = (RA|0) + (RB)and place in RT,
(RT)
MS(EA,4).
Set the Reservation bit.
9-89
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).
9-90
lwz RT, D(RA) Load word from EA = (RA|0) + EXTS(D) and place in
RT,
(RT)
MS(EA,4).
9-91
Table B-6. Storage Reference Instructions (continued)
Mnemonic Operands Function
Other Registers
Changed Page