stwu
Store Word with Update
PPC440x5 CPU Core User’s Manual Preliminary
Page 426 of 589
instrset.fm.
September 12, 2002
stwu
Store Word with Update
EA ← (RA|0) + EXTS(D)
MS(EA, 4)
← (RS)
(RA)
← EA
An effective address (EA) is formed by adding a displacement to a base address. The displacement is
obtained by sign-extending the 16-bit D field to 32 bits. The base address is 0 when the RA field is 0, and is
the contents of register RA otherwise.
The contents of register RS are stored into the word at the EA.
The EA is placed into register RA.
Registers Altered
•RA
Invalid Instruction Forms
RA=0
stwu RS, D(RA)
37 RS RA D
0 6 11 16 31