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

func cmg

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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.

Feedback to webmaster