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.
Ldiho<t>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Ldiho<t>
 
  /* Load indrect huge item with scaled offset */
 
  Possible Instructions
 
  LdihoB, LdihoW
 
  See: P-Code Data Types
 
  Description
 
  Reads an item of type <t> from memory using the huge pointer and a
  scaled offset popped from the stack. It then pushes the item onto the
  stack.
 
  Pseudocode equivalent:
 
  off = PopW() * sizeof(<t>);
  hp<t> = PopL();
  PushT(*(hp<t> + off));
 
 
                                     -♦-