P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Ldifo<t>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Ldifo<t>
 
  /* Load indrect far item with scaled offset */
 
  Possible Instructions
 
  LdifoB, LdifoW, LdifoL
 
  See: P-Code Data Types
 
  Description
 
  Reads an item of type <t> from memory using the far pointer and a scaled
  offset popped from the stack. It then pushes the item onto the stack.
 
  Pseudocode equivalent:
 
  off = PopW() * sizeof(<t>);
  lp<t> = PopL();
  PushT(*(lp<t> + off));
 
 
                                     -♦-