Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>mod modulus operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MOD              Modulus                                             Operator

  expression1 MOD expression2

    Returns the remainder after division.

       Notes:     The expressions must be integer numbers.  They can not
                  be relocatable memory addresses.

    For example, 14 MOD 4 = 2, since 14 / 4 has a remainder of 2.

See Also: / * + - Operator Precedence

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson