When an expression component has associated data characteristics, the length of the display depends on:
Length Attribute of the Symbol
The length attribute of the symbol is used as the default value.
For example, this command requests the display of register 1:
list :r1
The length attribute of a general register is four bytes. The debugger uses the register attribute as the default value and issues the following display in response to the above command:
00000000
Length Attribute of the End Symbol
The length attribute of the end symbol in an expression range delineates the end of the display. For example, this command requests a display of register 1 through register 3:
list :r1 to :r3
The debugger responds with a display that includes the full four-byte length of register 3:
00000000 00000001 00000002
Explicit Length
An explicit length overrides the display length implied by the data characteristics of a symbol.
This table lists the length attributes of debugger symbols:
|
Entity |
Symbol |
Length Attribute |
|---|---|---|
|
Single registers |
:Rn :SRn :DRn |
4 bytes |
|
Register blocks |
:REGS :SREGS :DREGS |
64 bytes |
|
Program status word |
:PSW |
8 bytes |
|
Halfwords |
:H1 :H2 |
2 bytes |
|
Fullwords |
:F1 :F2 |
4 bytes |
|
Line number |
#Line-n |
12 bytes |
|
Control blocks |
:BAT, :CSA, :DLB, :LTE, :PTE, :TCE, :VECT |
Variable (depending on length of block) |
|
Copyright © 2013 CA.
All rights reserved.
|
|