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.
Ldif<t><n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Ldif<t><n>
 
  /* Load indirect from far pointer */
 
  Possible Instructions
 
  LdifBb, LdifWb, LdifLb, LdifR, LdifD, LdifT
 
  See: P-Code Data Types
       P-Code Operands
 
  Description
 
  Loads an indirect value of type <t> onto the stack. The top two words on
  the stack are taken to be a far pointer. The increment <n> is used to
  address a field in a data structure.
 
  Pseudocode equivalent:
 
  lp = (char far *)PopL() + <n>;
  Push<t>(*lp);
 
  This statement can be generated during a comparison involving a far
  pointer, as follows:
 
  *lpw = 5;
  if (*lpw != 5)           /* generates LdifWb */
 
 
                                     -♦-