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