As soon as a component appears in an expression with any other component, it no longer has associated data characteristics. For example: PTE is an expression with an implicit length attribute equal to the length of the control block, but: PTE +@10 is an expression without associated data characteristics.
Ways to Determine Length
When an expression component does not have associated data characteristics, the length of the display is based on:
Default Command Length
Default lengths vary for commands that use length parameters. For example, the default length is 16 bytes for the LIST command and 256 bytes for the SNAP command.
In this example, the display begins 32 bytes from the start of the current physical terminal element (PTE) for a length of 16 bytes:
list :pte +@20
Explicit Length
You can supply an explicit length, which overrides the default length of the command. This example requests a 100-byte display that begins at the load address:
list $ 100
The next example requests that the display begin at an offset address for a length of 20 bytes:
list :pte +@10 len 20
First Byte of the End Expression
The first byte of the end expression in an expression range specifies the end of the display. For example, the debugger displays 17 bytes of memory in response to this command:
list @bf000 to @bf010
|
Copyright © 2013 CA.
All rights reserved.
|
|