![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 422](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279422.webp)
730
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 11:
Instruction Set
R
stswi
Store String Word Immediate
Description
An effective address (EA) is determined by the
r
A field as follows:
•
If the
r
A field is 0, the EA is 0.
•
If the
r
A field is not 0, the contents of register
r
A are used as the EA.
Let
n
specify the byte count. If the NB field is 0,
n
is 32. Otherwise,
n
is equal to NB.
Let
nr
specify the number of registers to supply data.
nr
=
CEIL(
n
÷
4).
GPRs
r
S through
r
S
+
nr
−
1 are stored into
n
consecutive bytes starting at the memory
address referenced by EA. The sequence of registers wraps around to
r
0 if necessary. The
bytes within each register are stored beginning with the most-significant byte and ending
with the least-significant byte, until the byte count is satisfied.
Pseudocode
EA
←
(
r
A|0)
if NB
=
0
then n
←
32
else
n
←
NB
r
←
r
S
−
1
i
←
0
do while n > 0
if i
=
0
then r
←
r + 1
if r
=
32
then r
←
0
MS(EA,1)
←
(GPR(r)
i:i+7
)
i
←
i + 8
if i
=
32
then i
←
0
EA
←
EA + 1
n
←
n
−
1
Registers Altered
•
None.
Exceptions
•
Data storage—if the access is prevented by zone protection when data relocation is
enabled.
stswi
r
S
,
r
A, NB
X Instruction Form
31
r
S
r
A
NB
725
0
0
6
1
1
1
6
2
1
3
1
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...