System Debug Reference Manual (32650-90888)
378 Chapter10
System Debug Standard Functions
func cmnode
Syntax
cmg (
pin
)
Formal Declaration
cmg:sptr (
pin
:u16)
Parameters
pin
The process identification number (PIN) for which the address of the
CMGLOBALS record is to be returned.
Examples
$nmdebug > wl cmg($8)
$c4680000
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.
func cmnode
Returns the address of the closest CM node point corresponding to the specified CM logical
code address.
Syntax
cmnode (
cmlogaddr
[
node
])
Refer to appendix C for a discussion of CM Object Code Translation (OCT), node points,
and breakpoints in translated CM code.
Formal Declaration
cmnode:lcptr (
cmlogaddr
:lcptr [
node
:str="PREV"])
Parameters
cmlogaddr
The CM logical code address within a translated code segment for which
the closest CM node point is desired.
Cmlogaddr
must be a full CM logical code address (LCPTR). For example:
CMPC Current CM program counter
CMPW+4 Top of CM program window + 4
PROG(2.102) Program file logical seg 2 offset 102