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.
Mul<t>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Mul<t>
 
  /* Multiply top two items on stack */
 
  Possible Instructions
 
  MulL, MulW, MulT
 
  See: P-Code Data Types
 
  Description
 
  Pops the two top stack elements, performs a multiply, and pushes the
  result back onto the stack.
 
  Pseudocode equivalent:
 
  <t>2 = Pop<t>();
  <t>1 = Pop<t>();
  Push<t>(<t>1 * <t>2);
 
  Any multiplication of two longs generates this opocde:
 
  lT1 = 3333l;
  lT2 = 9999l;
  lT3 = lT2 * lT1;         /* generates MulL */
 
 
                                     -♦-