Bits 24-31 of general register R, are
placed unchanged at the second-operand
location. The second operand is one
byte in length.Condition Code: unchanged. Program Exceptions:
The code
Access (store, operand 2)
STORECHARACTERS UNDER MASK
o 8 12 1620 remains
31
Bytes selected from general registerR, under control of a mask are placed at
contiguous byte locations beginning at
the second-operand address.
The contents of the M3 field are used as
a mask. These four bits, left to right,
correspond one for one with the four
bytes, left to right, of general regisĀ
terR,. The bytes corresponding to ones
in the mask are placed in the same order
at successive and contiguous storage
locationsbeginning at the secondĀ
operand address. When the maskis not
zero, the length of the second operand
is equal to the number of onesin the
mask. The contents of the general
register remain unchanged.
When the mask is not zero, exceptions
associated with storage-operand accesses
are recognized only for the number of
bytes specified by the mask.
When the mask is zero, the single byte
designated by the second-operand addressremains unchanged; however, on some
models, the value may be fetched and
subsequently stored back unchanged at
the same storage location. This update
appears to be an interlocked-update
referenceas observed by other CPUs. Condition Code: unchanged. Program Exceptions:
The code
Access (store, operand 2)Programming Notes remains
1. An example of the use of theSTORE CHARACTERS UNDER MASK instruction
is given in Appendix A.
2.STORE CHARACTERS UNDER MASK with a
mask of0111 may be used to store a
three-byte address, for example,in modifying the address in a CCW. 3. STORE CHARACTERS UNDER MASK with a
mask of 1111,0011, or 0001 performs the same function as STORE, STORE HAlFWORD, or STORE CHARACTER, respectively. However,
on most models, the performance ofSTORE CHARACTERS UNDER MASK is
slower.
4.Using STORE CHARACTERS UNDER MASK
with a zero mask should be avoided
since this instruction, depending
on the model, may performa fetch and store of the single byte desig-
nated by the second-operand
address. This reference is not
interlocked against accesses by
channels. In addition, it may
cause any of the following to occur
for the byte designated by the
second-operand address: aPER storage-alteration event may be
recognized; access exceptions may
be recognized; and, provided no
access exceptions exist, the changebit may be set to one. STORE CLOCK STCK [5] 'B205' o 16 20 31
The current value of the TaD clock is
stored at the eight-byte field desigĀ
nated by the second-operand address,
provided the clockis in the set,
stopped, or not-set state.Zeros are stored for the rightmost bit
positions that are not provided by the
clock.
When the clock is in the error state,
the value stored is unpredictable. When
the clock is in the not-operational
state, zeros are stored at the operand
location.
The quality of the clock value stored by
the instruction is indicated by the
resultant condition-code setting.
A serialization function is performed
before the value of the clock is fetched
and again after the value is placed in
storage.
ResultingCondition Code: o Clock in set state
1Clock in not-set state
2Clock in error state Chapter 7. General Instructions 7-35
placed unchanged at the second-operand
location. The second operand is one
byte in length.
The code
Access (store, operand 2)
STORE
o 8 12 16
31
Bytes selected from general register
contiguous byte locations beginning at
the second-operand address.
The contents of the M3 field are used as
a mask. These four bits, left to right,
correspond one for one with the four
bytes, left to right, of general regisĀ
ter
in the mask are placed in the same order
at successive and contiguous storage
locations
operand address. When the mask
zero, the length of the second operand
is equal to the number of ones
mask. The contents of the general
register remain unchanged.
When the mask is not zero, exceptions
associated with storage-operand accesses
are recognized only for the number of
bytes specified by the mask.
When the mask is zero, the single byte
designated by the second-operand address
models, the value may be fetched and
subsequently stored back unchanged at
the same storage location. This update
appears to be an interlocked-update
reference
The code
Access (store, operand 2)
1. An example of the use of the
is given in Appendix A.
2.
mask of
three-byte address, for example,
mask of 1111,
on most models, the performance of
slower.
4.
with a zero mask should be avoided
since this instruction, depending
on the model, may perform
nated by the second-operand
address. This reference is not
interlocked against accesses by
channels. In addition, it may
cause any of the following to occur
for the byte designated by the
second-operand address: a
recognized; access exceptions may
be recognized; and, provided no
access exceptions exist, the change
The current value of the TaD clock is
stored at the eight-byte field desigĀ
nated by the second-operand address,
provided the clock
stopped, or not-set state.
positions that are not provided by the
clock.
When the clock is in the error state,
the value stored is unpredictable. When
the clock is in the not-operational
state, zeros are stored at the operand
location.
The quality of the clock value stored by
the instruction is indicated by the
resultant condition-code setting.
A serialization function is performed
before the value of the clock is fetched
and again after the value is placed in
storage.
Resulting
1
2