Stmw - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

stmw

Store Multiple Word
PPC440x5 CPU Core User's Manual
stmw
Store Multiple Word
stmw
RS, D(RA)
47
0
6
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.
Page 418 of 589
RS
RA
11
16
Preliminary
D
instrset.fm.
September 12, 2002
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents