System Debug Reference Manual (32650-90888)

Chapter 10 427
System Debug Standard Functions
func off
Refer to appendix C for a discussion of CM object code translation, node points, and
breakpoints in translated CM code.
Formal Declaration
nmtocmnode:lcptr (
virtaddr
:lptr [
node
:str="PREV"])
Parameters
virtaddr
The virtual address of NM translated code for which the closest CM node
point is to be returned.
Virtaddr
can be a short pointer, a long pointer, or a full logical code
pointer.
node
The desired node point, either PREV (closest previous node) or NEXT
(closest next node). If unspecified, then PREV is assumed.
Examples
$nmdebug > wl nmtocmnode(21.24030):"%"
SYS %12.224
Print the CM address of the closest NM previous (by default) node point.
$nmdebug > wl nmtocmnode(21.24030, "next"):"%"
SYS %12.232
Print the CM address of the closest NM next node point.
Limitations, Restrictions
none
func off
Returns the offset portion of a virtual or extended address.
Syntax
off (
virtaddr
)
Formal Declaration
off:u32 (
virtaddr
:ptr)
Parameters
virtaddr
The virtual address whose offset portion is to be returned.