System Debug Reference Manual (32650-90888)

Chapter 11 483
System Debug Standard Functions
11 System Debug Standard Functions
This chapter presents the full formal declaration for each of the standard functions which
are defined in System Debug.
All functions are callable from both DAT and Debug. All functions can be called from both
Native Mode (NM) and Compatibility Mode (CM). Some functions, however, deal
specifically with NM or CM attributes. Input parameters are always interpreted based on
the current mode, so care must be exercised when specifying procedure names and
numeric literals.
Functions are logically divided into groups and can be listed with the FUNCL[IST]
command, filtered by the group name.
The following table lists all functions, sorted by group name. For each function, the name,
type, and a brief description is presented.
COERCION Functions
Name Type Description
ASCC : STR Coerces an expression to ASCII
BOOL : BOOL Coerces an expression to Boolean
CST : CST Coerces an expression to CST ACPTR
CSTX : CSTX Coerces an expression to CSTX ACPTR
EADDR : EADDR Coerces an expression to extended address.
GRP : GRP Coerces an expression to GRP LCPTR
LGRP : LGRP Coerces an expression to LGRP LCPTR
LPTR : LPTR Coerces an expression to long pointer.
LPUB : LPUB Coerces an expression to LPUB LCPTR
PUB : PUB Coerces an expression to PUB LCPTR
S16 : S16 Coerces an expression to signed 16-bit INT
S32 : S32 Coerces an expression to signed 32-bit INT
S64 : S64 Coerces an expression to signed 64-bit INT
SADDR : SADDR Coerces an expression to secondary address.
SPTR : SPTR Coerces an expression to short pointer
SYS : SYS Coerces an expression to SYS LCPTR
TRANS : TRANS Coerces an expression to TRANS LCPTR
USER : USER Coerces an expression to USER LCPTR