HP 3000 Manuals

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


System Debug Reference Manual

func phystolog 

Converts a CM physical segment number and mapping bit to a CM logical
code address.

Syntax 

      phystolog (physsegnum [mappingbit])

This function is typically used to manually examine CM stack markers, and
CM external plabels.

The offset part of the returned CM logical code address is always set to
zero.

Formal Declaration 

     phystolog:lcptr (physsegnum:u16 [mappingbit:bool=FALSE])

Parameters 

physsegnum       The CM physical segment number to be converted to a CM
                 logical address.

 mappingbit      A Boolean that implies that the segment is physically
                 mapped (TRUE = 1) or logically mapped (FALSE = 0).  By
                 default, mappingbit is FALSE.

Examples 

     %cmdebug > wl phystolog( 303 ) 
     PROG %2.0

Physical segment number %303 is converted into logical code segment PROG
2.

     %cmdebug > wl phystolog( 122 ) 
     GRP %2.0

Physical segment number %122 is converted into logical code segment GRP
%2.

Limitations, Restrictions 

none



MPE/iX 5.0 Documentation