Difference between revisions of "Multstore"
From WikiManual
(Created page with "Works like mult but the second variable passed is a memory location and data is multiplied directly into location.") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Works like mult but the second variable passed is a memory location and data is multiplied directly into location. | 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 | ||
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