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.

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

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

- hexloc2<br />

specifies the last of a range of hexadecimal storage locations whose contents<br />

are to be displayed. 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 displayed.<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 or INDEX oper<strong>and</strong> is used, hexloc2 is the address of the<br />

last location to be displayed. 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 displayed is specified by the<br />

sum 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 forming this sum. The<br />

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

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

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

the 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 displayed.<br />

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

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

for readability; leading zeros are optional.<br />

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

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

BASEnn<br />

displays 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 may be a decimal number from 0 to 15 or a hexadecimal<br />

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 display. If the virtual <strong>CP</strong>U is not in the access<br />

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

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

INDEXnn<br />

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

% 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 Display comm<strong>and</strong>.

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

Saved successfully!

Ooh no, something went wrong!