P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Add<t>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Add<t>
 
  /* Add top two items on stack */
 
  Possible Instructions
 
  AddW, AddL, AddT
 
  See: P-Code Data Types
 
  Description
 
  Adds the top two elements from the stack and pushes the result onto the
  stack. The length of the elements is determined by the <t> portion of
  the instruction.
 
  Pseudocode equivalent:
 
  <t>2 = Pop<t>();
  <t>1 = Pop<t>();
  Push<t>(<t>1 + <t>2);
 
 
                                     -♦-