Difference between revisions of "Multstore"

From WikiManual
Jump to: navigation, search
 
Line 5: Line 5:
 
  ''Given'' 10 .up store
 
  ''Given'' 10 .up store
  
  -1 .up multstore = *.up -1 mult .up store = -10
+
  -1 .up multstore ''same as'' *.up -1 mult .up store ''is equal to'' -10
  
  0 .up multstore = *.up 0 mult .up store = 0
+
  2 .up multstore ''same as'' *.up 2 mult .up store ''is equal to'' 20

Latest revision as of 09:34, 1 July 2014

Works like mult but the second variable passed is a memory location and data is multiplied directly into location.

examples:

Given 10 .up store
-1 .up multstore same as *.up -1 mult .up store is equal to -10
2 .up multstore same as *.up 2 mult .up store is equal to 20