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.
SttW
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  SttW
 
  /* Store top of stack in t register. */
 
  Description
 
  Stores the value at the top of the stack into the p-code temporary
  register t.
 
  Pseudocode equivalent:
 
  t = Pop();
 
  Doing a right shift to a long variable type generates this instruction.
  Temporary results are stored and then loaded back onto the stack to
  complete the shift:
 
  lTest1 = lTest2 >> 1     /* generates SttW */
 
 
                                     -♦-