Difference between revisions of "Divstore"
From WikiManual
Line 3: | Line 3: | ||
examples: | examples: | ||
− | ''Given'' 10 .up store | + | ''Given'' 10 .up store |
− | -1 .up divstore | + | -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