STORE Use the srORE command to alter the contents of specified registers and
locations of the virtual machine. The contents of the following can be
altered: virtual storaqe locations (1st level virtual storage only; see "Usage Notes") General reqisters Floating-point registers Control registers (if available) Pruqram status word
The STORE can also save virtual machine data in low storage. The format of the STORE command is: r STore
L
hexloc
Lhexloc
hexloc
Lhexloc hexword1 [hexword2 ••• ] Shexloc hexdata ••• {
Greg}
Xreq hexword1 [hexword2 ••• ] {Yreq} hexdword1 [hexdword2 ••• , psw [hexword1] hexword2 STATUS rhexword2 ••• ] stores the specified data (hexword1
successive fullword locations starting by hexloc. The smallest qroup of
that can be stored using t.his form is one
form (hexloc or Lhexloc) can be used.
(hexword2 ••• ]) in
at the address
hexadecimal values
full word. Either
If hexloc is not on a fullword boundary, it is rounded down to
the next lower fullword. The operands hexword1
[hexword2 ••• 1operand each represents up to 16 hexadecimal
diqits. If the value being stored is less than a fullword
(eiqht hexadecimal digits), it is right-adjusted in the word and the hiqh order bytes of the word are filled with zeros.
If two or more hexwords are specified, they must be separated
by one or more blanks. hexdata ••• stores the data specified (hexdata ••• ) in the address by hexloc, without word alignment. The shortest
strinq that can be stored is one byte (two hexadecimal
digits). If the strinq contains an odd number of characters,
the last character is not stored, an error message is sent, and the function is terminated. rhe hexdata ••• operand is a strinq of two or more hexadecimal digits with no embedded 1S0 IBM VM/370 CP Command Reference for General Users
STORE Greg 1 [hexword2 ••• 1
stores the hexadecimal data (hexword 1 [hexword2 ••• ]) in
successive general registers starting at the register by reg. The reg operand must be either a decimal
namher from 0 through 15 or a hexadecimal digit from 0 through
F. The hexword1 (hexword2 ••• 10perand each represents up to
eiqht hexadecimal digits. If the value being stored is less
than a :uLiword (eight hexadecimal digits) , it is
riqht-adjusted in the word and the high order bytes of the word are filled with zeros. If two or more hexwords are
specified, they must be separated by one or more blanks. 'lrreg 1 r hexword2 ••• 1
stores the hexadecimal data (hexword 1 [ hexword2 ••• ]) in
successive control registers starting at the register bv reg. The reg operand must either be a decimal
number from 0 through 15 or a hexadecimal digit from 0 through
F. Jf the virtual machine is in basic control mode, you can data in register 0 only. The hexword1 :hexword2 ••• ]
operand each represents up to eiqht hexadecimal digits. If the value beinq stored is less than a fullword (eight
hexadecimal digits), it is right-adjusted in the word and the
hiqh order bytes of the word are filled with zeros. If two or hexwords are specified, they must be separated by one or
more blanks. Yreg hexdword 1 [hexdword2 ••• 1
stores the hexadecimal data (hexdword1 [hexdword2 ••• ]) in
successive floating-point registers starting at the register bV reg. The reg operand must be a digit from 0 7. If reg is an odd number, it is adjusted to the preceding even number. The hexdword1 [hexdword2 ••• ] operand
each represents up to 16 hexadecimal digits. If the value
beinq stored is less than a doubleword (16 hexadecimal
diqits), it is left-justified in the doubleword and low order
positions are filled with zeros. If two hexdwords
are specified, they must be separated by one or more blanks. PSW hexword2 stores the hexadecimal data in the first and second words of
the virtual machine's program status word (PSW). If only hexword2 is specified, it is stored into the second word of
the PSW. The [hexword1] hexword2 operand each represents up
to eight hexadecimal digits. These operands must be separated by one or more blankse If the value being stored is less than
a fallword (eight hexadecimal digits), it is right-adjusted in
the word and the high order bytes of the word are filled with stores selected virtual machine data in certain low storage locations of the virtual machine, simulating the hardware
store status facility. These locations are permanently
assiqned locations in real storage. To use the STATUS operand, your virtual machine must be in the extended control The SrATUS operand should not be issued for virtual machines or for DOS virtual machines generated for a CPU smaller than a System/360 Model 40. The STATUS operand stores
the following data in low storage:
Section 5. Format of CP Commands 151
Previous Page Next Page