Difference between revisions of "Negstore"
From WikiManual
(Created page with "Converts the memory to its negative value.") |
|||
Line 1: | Line 1: | ||
Converts the memory to its negative value. | Converts the memory to its negative value. | ||
+ | |||
+ | examples: | ||
+ | |||
+ | ''Given'' 5 .up store | ||
+ | |||
+ | .up negstore ''same as'' *.up - or -1 mult .up store ''is equal to'' -5 | ||
+ | |||
+ | ''Given'' -5 .up store | ||
+ | |||
+ | .up negstore ''same as'' *.up - or -1 mult .up store ''is equal to'' 5 |
Revision as of 09:54, 1 July 2014
Converts the memory to its negative value.
examples:
Given 5 .up store
.up negstore same as *.up - or -1 mult .up store is equal to -5
Given -5 .up store
.up negstore same as *.up - or -1 mult .up store is equal to 5