Xerox 560 Reference Manual page 62

Hide thumbs Also See for 560:
Table of Contents

Advertisement

STH
STORE HALFWORD
(Halfword index alignment)
STORE HALFWORD stores the contents of bit positions 16-31
of register R into the effective halfword location.
If the
information in register R exceeds halfword data limits, CC2
is set to 1; otherwise, CC2 is reset to O.
Affected: (EHL), CC2
(R)16-31- EHL
Condition code settings:
2
3
4
Information in R
-
0
(R)0-16
=
all O's or all lis.
(R)0-16
I
all O'S or all l'.s.
STW
STORE WORD
(Word index alignment)
STORE WORD stores the contents of register R into the ef-
fective word location.
Affected: (EWL)
(R) -EWL
STD
STORE DOUBLEWORD
(Doubleword index alignment)
STORE DOUBLEWORD stores the contents of register R into
the 32 high-order bit positions of the effective doubleword
locati on and then stores the contents of regi ster Ru 1 into
the 32 low-order bit positions of the effective doubleword
location.
Affected: (E D L)
(R) -
EDL
O
_
31
; (RuH -
EDL
32
_
63
Example 1, even R field value:
Before execution
After execution
(R)
X
1
01234567 '
X
1
01234567 '
(Rul)
=
X'89ABCDEF'
X'89ABCDEF '
(ED L):::= xxxxxxxxxxxxxxxx
X'Q 1 23456789ABCDEF'
56
Load/Store Instructions
Example 2, odd R field value:
Before execution
(R)
X
I
89ABCDEF '
(E D L)
=
xxxxxxxxxxxxxxxx
STS
STORE SE LECTNE
(Word index alignment)
After execution
X'89ABCDEF'
X
I
89ABCDEF89ABCDEF '
Register Rul contains a 32-bit mask.
If R is an even value,
STORE SELECTIVE stores the contents of register R into the
effective word location in those bit positions selected by
a 1 in corresponding bit positions of register Rul; the effec-
tive word remains unchanged in those bit positions selected
by a 0 in corresponding bit positions of register Rul.
If
R is an odd value, STS logically inclusive ORs the con-
tents of register R with the effective word and stores the
result into the effective word location.
The contents of
register R are not affected.
Affected: (EWL)
If
R is even, [(R)n(Rul)] u [EWn(Rul)] -
EWL
If R is odd, (R) u EW -
EWL
Example 1, even R field value:
Before execution
(R)
X'12345678'
(Ru 1)
=
X' FOFOFOFO '
EW
(R)
EW
STM
xxxxxxxx
Before execution
X'OOFFOOFF'
X'12345678'
STORE MULTIPLE
(Word index alignment)
After execution
X'12345678 '
X' FOFOFOFO'
X'lx3x5x7x'
After execution
X'OOFFOOFF'
C' 12FF56FF
I
/*/
2B
I
R
I
X
I
I
Reference address
I
10
1
]
23145
718
9
]0 11112 13 14'151]6 17 18 19120 21 22 23!24 25 26 27128 29 30 31'
STORE MULTIPLE stores the contents of a sequential set of
registers into a sequential set of word locations. The set of
locations begins with the 10catiol1 pointed to by the effective
word address of STM, and the set of registers begins with reg-
i ster R. The set of regi sters is treated modu fo 16 (i. e., the

Advertisement

Table of Contents
loading

Table of Contents