P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Ldin<t><n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Ldin<t><n>
 
  /* Load indirect using near pointer. */
 
  Possible Instructions
 
  LdinB0..LdinB4, LdinBb, LdinD, LdinW0...LdinW7, LdinWb, LdinL0, LdinLb,
  LdinR, LdinT
 
  See: P-Code Data Types
       P-Code Operands
 
  Description
 
  Loads an indirect item of type <t> onto the stack. The word on the stack
  is taken to be a word pointer, and the increment <n> can be used to
  address a field in a data structure.
 
  Pseudocode equivalent:
 
  p<t> = PopW() + sizeof(<t>) * <n>;
  Push<t>(*p<t>);
 
  Comparing a word pointer to another value is one way to produce the
  LdinW<n> instruction:
 
  *pw = 8;
  if (*pw != 8)            /* generates LdinW<n> */
 
 
                                     -♦-