System Debug Reference Manual (32650-90888)
400 Chapter10
System Debug Standard Functions
func lgrp
Hash the virtual address for PC ($a.d87f8) to get real address $103c4. Add the hash value
($103c4) to the base of the Hash table (TR1) to get the offset of the first PDIR entry
($1b00). Add this offset to the base of the PDIR table (TR0), and display the four-word
PDIR entry.
Limitations, Restrictions
none
func lgrp
Coerces an expression into a LGRP logical code pointer (LCPTR).
Syntax
lgrp (
value
)
During the evaluation of the parameter to this function, the search path used for
procedure name lookups is limited to the logon group library file (LGRP).
Formal Declaration
lgrp:lgrp (
value
:any)
Parameters
value
An expression to be coerced. All types are valid.
Table 10-6. Derivation of the LGRP Bit Pattern
Parameter Type Action
BOOL 0.1 if TRUE, 0.0 if FALSE.
U16
U32
SPTR
Set the SID part to zero. Right justify the original value in the low-order
32 bits of the offset part with zero fill.
S16
S32
S64
Set the SID part to zero. Right justify the original value in the low-order
32 bits of the offset part with sign extension.
LONG Class Transfer both parts of the address unchanged.
EADDR
SADDR
Transfer the SID part unchanged. Transfer the low-order 32 bits of the
offset part.
STR Transfer the ASCII bit pattern for the last eight characters in the string.
Strings shorter than eight characters are treated as if they were extended
on the left with nulls.