System Debug Reference Manual (32650-90888)

356 Chapter10
System Debug Standard Functions
func asc
Cmabsaddr
must be a full CM absolute code address (ACPTR). For Example:
CST(2.102) CST segment 2 offset 102
CSTX(1.330) CSTX segment 1 offset 330
LOGTOABS(cmpc) Explicit absolute conversion
Examples
%cmdebug > wl cmpc
PROG %0.1273
%cmdebug > wl logtoabs(cmpc)
CSTX %1.1273
%cmdebug > wl abstolog(cstx(1.1273))
PROG %0.1273
Absolute CM address CSTX 1.1273 is converted into logical address PROG %0.1273.
%cmdebug > wl abstolog(cst(43.304))
SYS %32.304
Absolute CM address CST 43.304 is converted into logical address SYS %32.304.
%cmdebug > wl abstolog(cst(103.4274))
GRP %4.4274
Absolute CM address CST 103.4274 is converted into group library logical address GRP
4.4274.
Limitations, Restrictions
none
func asc
Evaluates an expression and converts the result to an ASCII string.
Syntax
asc (
value
[
formatspec
])
Formal Declaration
asc:str (
value
:any [
formatspec
:str = ''])
Parameters
value
The expression to be formatted.
formatspec
An optional format specification string can be specified in order to select