27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

STORE Guest Storage (z/Architecture)<br />

The spacename BASE is preassigned by <strong>CP</strong> to be the name of your virtual<br />

machine’s host-primary address space.<br />

ASITasit.<br />

stores data in absolute storage in the <strong>CP</strong>-created address space identified by<br />

the specified address space identification token (ASIT). Specify asit as one to<br />

sixteen hexadecimal digits; leading zeros are optional.<br />

N stores data (in hexadecimal) in successive fullword locations starting at the<br />

address specified by hexloc. The smallest group of hexadecimal values that can<br />

be stored is one fullword. This is the default.<br />

If hexloc is not on a fullword boundary, the store operation begins on the next<br />

lower fullword boundary. If the value being stored is less than one fullword<br />

(eight hexadecimal digits) in length, it is right-adjusted in the word <strong>and</strong> is filled<br />

in with zeros. If two or more hexadecimal words are specified, they must be<br />

separated with one or more blanks.<br />

S stores data (in hexadecimal) without word alignment, starting at the address<br />

specified in hexloc. The shortest string that can be stored is one byte (two<br />

hexadecimal digits).<br />

If the string contains an odd number of characters, the last character is not<br />

stored; an error message is issued, <strong>and</strong> the function terminates. If you specify<br />

the S oper<strong>and</strong>, the data you enter must be a string of two or more hexadecimal<br />

digits with no embedded blanks.<br />

K stores data in the storage key for the 4 KB page in which hexloc is located. Two<br />

hexadecimal digits are used to form the key for the page. If one digit is<br />

provided, it becomes the lower digit, <strong>and</strong> the upper digit is zero.<br />

U stores data starting at the address specified by hexloc. The data is treated as<br />

an EBCDIC string by default; it is treated as an ASCII string if the X option is<br />

specified. The data is stored in byte segments with no word alignment.<br />

hexloc<br />

is the starting storage location that is to be altered. The address hexloc may be<br />

one to sixteen hexadecimal digits, separated with an optional underscore for<br />

readability; leading zeros are optional. The hexloc parameter has no defaults;<br />

you must always specify the starting address you want to alter.<br />

% indicates 31-bit address indirection. Indirection means that the contents of the<br />

specified address are used instead of the address itself. In this case, the 31 bits<br />

at the specified address (the high-order bit is set to 0) are used as the address<br />

for the STORE comm<strong>and</strong>.<br />

& indicates 64-bit address indirection. Indirection means that the contents of the<br />

specified address are used instead of the address itself. In this case, the 64 bits<br />

at the specified address are used as the address for the STORE comm<strong>and</strong>.<br />

BASEnn<br />

stores data in guest storage using the specified address (hexloc) as a<br />

displacement from the address in the specified general register. The general<br />

register may be specified as a decimal number from 0 to 15 or as a<br />

hexadecimal number from 0 to F. If the L oper<strong>and</strong> has been specified, the<br />

virtual <strong>CP</strong>U is an ESA virtual machine, <strong>and</strong> the virtual <strong>CP</strong>U is in access register<br />

mode, the specified nn indicates an AR/GR pair. The specified access register<br />

is used, in the same manner as if the AREGareg. oper<strong>and</strong> had been specified,<br />

in conjunction with the guest access-register-translation tables to locate the<br />

guest address space to store data in.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1545

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!