System Debug Reference Manual (32650-90888)

394 Chapter10
System Debug Standard Functions
func dstva
Examples
%cmdebug > wl cstx(12.304)
CSTX %12.304
Coerce the simple long pointer into a CSTX absolute code pointer.
%cmdebug > wl cstx( sort )
CSTX %4.3302
Print the address of the procedure named sort. Note that the search path used for
procedure name lookups is restricted to the program file (PROG).
%cmdebug > wl cstx(sys(24.630))
CSTX %24.630
The coercion simply changes the associated absolute file. Note that no complicated
conversion or range checking is performed.
Limitations, Restrictions
none
func dstva
Converts a CM data segment address to a virtual address.
Syntax
dsvta (
dstoff
)
LPTR SYS
PROG USER
GRP TRANS
PUB CST
LGRP CSTX
LPUB
Transfer both parts of the address unchanged.
EADDR
SADDR
Transfer both parts of the address, truncating the 32 high-order bits of the
offset.
STR Transfer the ASCII bit pattern for the last eight characters in the string.
Strings shorter than eight characters are treated as if they were extended
on the left with nulls.
Table 10-3. Derivation of the CSTX Bit Pattern
Parameter Type Action