Difference between revisions of "Negstore"

From WikiManual
Jump to: navigation, search
 
Line 5: Line 5:
 
  ''Given'' 5 .up store
 
  ''Given'' 5 .up store
  
  .up negstore ''same as'' *.up - or -1 mult .up store ''is equal to'' -5
+
  .up negstore ''same as'' *.up - .up store ''same as'' *.up -1 mult .up store ''is equal to'' -5
  
 
  ''Given'' -5 .up store
 
  ''Given'' -5 .up store
  
  .up negstore ''same as'' *.up - or -1 mult .up store ''is equal to'' 5
+
  .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