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

func cmg

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Returns the virtual address (SPTR) of a process's CMGLOBALS record.

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 cmentry


func cmnode