IBM PPC440X5 Computer Hardware User Manual


 
stmw
Store Multiple Word
PPC440x5 CPU Core User’s Manual Preliminary
Page 418 of 589
instrset.fm.
September 12, 2002
stmw
Store Multiple Word
EA (RA|0) + EXTS(D)
r
RS
do while r
31
MS(EA, 4)
(GPR(r))
r
r+1
EA
EA + 4
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 a series of consecutive registers, starting with register RS and continuing through GPR(31),
are stored into consecutive words starting at the EA.
Registers Altered
None
Programming Note
This instruction can be restarted, meaning that it could be interrupted after having already stored some of the
register values to memory, and then re-executed from the beginning (after returning from the interrupt), in
which case the registers which had already been stored prior to the interrupt will be stored a second time.
stmw RS, D(RA)
47 RS RA D
0 6 11 16 31