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.

DUMP Guest Storage (ESA/XC)<br />

360 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

the specified address as an EBCDIC string, or as an ASCII string if the X option<br />

is specified. The specified address range is not boundary-aligned.<br />

The storage key is dumped on the first line <strong>and</strong> at every page boundary.<br />

M dumps the contents of storage in hexadecimal <strong>and</strong> character form. A header is<br />

dumped as the first line, <strong>and</strong> at every page boundary <strong>and</strong> contains the<br />

high-order 32 bits of the 64-bit address along with the storage key. Storage is<br />

dumped in word segments. An address range is dumped starting at the X'10'<br />

byte boundary in which the specified address resides. The hexadecimal output<br />

is followed by the storage as an EBCDIC string, or as an ASCII string if the X<br />

option is specified.<br />

If you do not specify any of the options T, M, K, S, I, N, or U, the contents of<br />

storage are dumped in hexadecimal word segments.<br />

0<br />

hexloc1<br />

specifies the starting storage location that is to be dumped. The value hexloc1<br />

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

readability; leading zeros are optional. The default is zero.<br />

If neither the BASE or INDEX oper<strong>and</strong> is used, hexloc1 is the address of the<br />

first location to be dumped. This address is treated as a 31-bit address,<br />

regardless of the addressing mode of the virtual <strong>CP</strong>U.<br />

If either the BASE or the INDEX oper<strong>and</strong> is used, hexloc1 is a displacement<br />

rather than an address. The first location to be dumped is specified by the sum<br />

of hexloc1 <strong>and</strong> the contents of the registers specified with the BASE oper<strong>and</strong>,<br />

the INDEX oper<strong>and</strong>, or both. If general register 0 is specified in the BASE or<br />

INDEX oper<strong>and</strong>, it is always treated as containing zero when forming this sum.<br />

The sum is treated as a 24-bit or 31-bit address according to the addressing<br />

mode of the virtual <strong>CP</strong>U.<br />

Storage locations <strong>and</strong> the minimum amount dumped are rounded according to<br />

the following conventions (in hexadecimal):<br />

Option Start Minimum Length<br />

T 10 10<br />

M 10 10<br />

K 7FF 7FF<br />

S 1 1<br />

I 2 2 - 6 depending on the instruction<br />

N 4 4<br />

U 1 1<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 turned off) are used as the new<br />

address for the Dump 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 new address for the Dump comm<strong>and</strong>.<br />

: END<br />

- hexloc2<br />

specifies the last of a range of hexadecimal storage locations whose contents

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

Saved successfully!

Ooh no, something went wrong!