Difference between revisions of "Divstore"
From WikiManual
(Created page with "Works like div but the second variable passed is a memory location and data is divided directly into location.") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Works like div but the second variable passed is a memory location and data is divided directly into location. | Works like div but the second variable passed is a memory location and data is divided directly into location. | ||
| + | |||
| + | examples: | ||
| + | |||
| + | ''Given'' 10 .up store | ||
| + | |||
| + | -1 .up divstore ''same as'' *.up -1 div .up store ''is equal to'' -10 | ||
| + | |||
| + | 2 .up divstore ''same as'' *.up 2 div .up store ''is equal to'' 5 | ||
Latest revision as of 09:36, 1 July 2014
Works like div but the second variable passed is a memory location and data is divided directly into location.
examples:
Given 10 .up store
-1 .up divstore same as *.up -1 div .up store is equal to -10
2 .up divstore same as *.up 2 div .up store is equal to 5