HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 System Debug Standard Functions

func nmtocmnode

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster