System Debug Reference Manual (32650-90888)
Chapter 10 355
System Debug Standard Functions
func abstolog
SYMBOLIC Functions
The formal declaration of functions are presented with the following format:
function_name
:
function_return_type
(
function_ parameters
)
The function parameters are presented as follows:
parm_name
:
parm_type
[=
default_parm_value
]
func abstolog
Converts a CM absolute code address (ACPTR) to a CM logical code (LCPTR) address.
Syntax
abstolog (
cmabsaddr
)
Formal Declaration
abstolog:lcptr (
cmabsaddr
:acptr)
Parameters
cmabsaddr
The CM absolute code address which is to be converted to a CM logical
code address.
STRPOS : U16 Locates a substring within a string
STRRPT : STR String repeat
STRRTRIM : STR Removes trailing blanks from a string
STRUP : STR Upshifts a string
STRWRITE : STR Builds a string from a value list
Name Type Description
SYMADDR : U32 Returns the offset within a type to the specified symbolic field
SYMCONST : ANY Returns the value of a declared constant
SYMINSET : BOOL Tests for set inclusion
SYMLEN : U32 Returns the length of the field based on a symbolic path
SYMTYPE : STR Returns the symbolic type based on a symbolic path
SYMVAL : ANY Returns the value found at a virtual address based on a symbolic path
Name Type Description