Difference between revisions of "Negstore"
From WikiManual
(Created page with "Converts the memory to its negative value.") |
|||
(One intermediate revision by the same user not shown) | |||
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 - .up store ''same as'' *.up -1 mult .up store ''is equal to'' -5 | ||
+ | |||
+ | ''Given'' -5 .up store | ||
+ | |||
+ | .up negstore ''same as'' *.up - .up store ''same as'' *.up -1 mult .up store ''is equal to'' 5 |
Latest revision as of 09:55, 1 July 2014
Converts the memory to its negative value.
examples:
Given 5 .up store
.up negstore same as *.up - .up store same as *.up -1 mult .up store is equal to -5
Given -5 .up store
.up negstore same as *.up - .up store same as *.up -1 mult .up store is equal to 5