HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func nmnode

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Returns the NM logical code address (TRANS) of the closest NM node point corresponding to the specified NM address.

Syntax



   nmnode (virtaddr [node])

Refer to appendix C for a discussion of CM object code translation, node points, and breakpoints in translated CM code.

Formal Declaration



   nmnode:trans (virtaddr:ptr [node:str="PREV"])

Parameters


virtaddr

The NM address of translated code for which the closest NM 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). The default is PREV.

Examples



   $nmdebug > wl nmnode(21.24030)
   TRANS $21.24024

Print the NM address of the closest previous (by default) NM node point.

   $nmdebug > wl nmnode(21.24030,"next")
   TRANS $21.2404c

Print the NM address of the next NM node point.

Limitations, Restrictions


none




func nmmod


func nmpath