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 />

are to be dumped. If specified, hexloc2 must be equal to or greater than<br />

hexloc1 <strong>and</strong> must be within the bounds of the address space to be dumped.<br />

The value hexloc2 may be from one to sixteen hexadecimal digits, separated<br />

with an optional underscore for readability; leading zeros are optional. The<br />

colon (:) means the same as a dash (–) when you specify a range of<br />

addresses.<br />

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

last 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, hexloc2 is a displacement<br />

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

of hexloc2 <strong>and</strong> the contents of the registers specified with the BASE <strong>and</strong>/or<br />

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

oper<strong>and</strong>, it is always treated as containing zero when this sum is being formed.<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 />

Specify END if you want to dump the remaining contents of storage. END is the<br />

default if you specify dash (-) or colon (:).<br />

END<br />

. bytecount<br />

is a hexadecimal integer designating the number of bytes of storage (starting<br />

with the byte at hexloc1) to be dumped.<br />

The byte count you specify must have a value of at least 1 <strong>and</strong> may be from<br />

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

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

Specify END if you want to dump the remaining contents of storage. END is the<br />

default, if you specify period (.).<br />

BASEnn<br />

dumps the contents of guest storage using the specified starting address<br />

(hexloc1) as a displacement from the address in the specified general register.<br />

The specified register (nn) may be a decimal number from 0 to 15 or a<br />

hexadecimal number from 0 to F.<br />

If the virtual <strong>CP</strong>U is in access-register mode, <strong>and</strong> the L oper<strong>and</strong> is specified (or<br />

defaulted), nn designates an access register/general register pair. Access<br />

register nn is implicitly used, in the same manner as if the AREG oper<strong>and</strong> had<br />

been specified, in conjunction with the virtual machine’s host access list to<br />

determine the address space to dump. If the virtual <strong>CP</strong>U is not in the<br />

access-register mode, or if one of the other space-designation oper<strong>and</strong>s (PRI,<br />

AREG, ALET, SPACE, ASIT) is specified, access register nn is not implicitly<br />

used.<br />

INDEXnn<br />

dumps the contents of guest storage using the specified starting address<br />

(hexloc1) as a displacement from the address in the specified register. The<br />

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

number from 0 to F.<br />

*dumpid<br />

is an asterisk followed by a 1- to 97-character identifier that is to be assigned to<br />

the dump. If specified, the dumpid must be the last oper<strong>and</strong> you enter on the<br />

comm<strong>and</strong> line.<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!