P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Sub<t>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Sub<t>
 
  /* Subtract top two items on stack */
 
  Possible Instructions
 
  SubW, SubL, SubT
 
  See: P-Code Data Types
       P-Code Operands
 
  Description
 
  Pops the top two elements off the stack, subtracts the second from the
  first, and pushes the result back onto the stack.
 
  Pseudocode equivalent:
 
  <t>1 = Pop<t>();
  <t>2 = Pop<t>();
  Push<t>(<t>1 - <t>2);
 
 
                                     -♦-