Instruction Set 9-165
stmw
Store Multiple Word
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
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
stmw RS, D(RA)
47 RS RA D
0 6 11 16 31