System Debug Reference Manual (32650-90888)
Chapter 10 395
System Debug Standard Functions
func eaddr
Formal Declaration
dstva:lptr (
dstoff
:lptr)
Parameters
dstoff
The CM data segment address which is to be converted to a virtual
address. This is specified as
dst.offset
.
Examples
$nmdebug > = dstva(%20.0)
$38.00000000
Convert the data segment address %20.0 to a virtual address and display the result.
Limitations, Restrictions
none
func eaddr
Coerces an expression into an extended address.
Syntax
eaddr (
value
)
Formal Declaration
eaddr:eaddr (
value
:any)
Parameters
value
An expression to be coerced. All types are valid.
Table 10-4. Derivation of the EADDR Bit Pattern
Parameter Type Action
BOOL 0.1 if TRUE, 0.0 if FALSE.
U16
U32
SPTR
Set the SID part to zero. Right justify the original value in the low-order
64 bits of the offset part with zero fill.
S16
S32
S64
Set the SID part to zero. Right justify the original value in the low-order
64 bits of the offset part with sign extension.