Difference between revisions of "Divstore"

From WikiManual
Jump to: navigation, search
(Created page with "Works like div but the second variable passed is a memory location and data is divided directly into location.")
 
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 = *.up -1 div .up store = -10
 +
 +
                          (10)
 +
0 .up divstore = *.up 0 div .up store = 0

Revision as of 09:30, 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 = *.up -1 div .up store = -10

                          (10)

0 .up divstore = *.up 0 div .up store = 0