title: can anyone help me and write the program of this equation: x=n mod y, in assembly lsnguage
body: <p>How can i solve this problem in assembly language: using only SUB, MOV, AND instructions, show how to calculate <code>x = n mod y</code>, assuming that you are given the values of n and y. n is any 16-bit unsigned integer, and y is power of 2.</p>