Difference between revisions of "Store"

From WikiManual
Jump to: navigation, search
 
Line 1: Line 1:
'''Overview'''
+
= Overview =
  
 
Stores the second value on the stack into the memory location specified by the top value.
 
Stores the second value on the stack into the memory location specified by the top value.
  
Syntax
+
Syntax:
*x y store
+
x y store
  
 
Where 'x' is the value to be stored, and 'y' is the memory location.
 
Where 'x' is the value to be stored, and 'y' is the memory location.
Line 10: Line 10:
 
or
 
or
  
store
+
store
  
Compared to the first, the lonely store-command works on the numbers on the stack, what ever they are.
+
Compared to the first, the lonely store-command works on the numbers on the [[stack]], what ever they are.
  
  

Revision as of 14:27, 19 September 2005

Overview

Stores the second value on the stack into the memory location specified by the top value.

Syntax:

x y store

Where 'x' is the value to be stored, and 'y' is the memory location.

or

store

Compared to the first, the lonely store-command works on the numbers on the stack, what ever they are.


Operators