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.") |
|||
| 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 = *.up -1 mult .up store = -10 | ||
| + | |||
| + | 0 .up multstore = *.up 0 mult .up store = 0 | ||
Revision as of 09:29, 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 = *.up -1 mult .up store = -10
0 .up multstore = *.up 0 mult .up store = 0