HP 3000 Manuals

func nmtocmnode [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func nmtocmnode 

Returns the CM logical code address of the closest CM node point
corresponding to the specified NM address.

Syntax 

      nmtocmnode (virtaddr [node])

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



MPE/iX 5.0 Documentation