hey guys this c++ code which needed to convert to asm and when user enter 2000 the clock shoud show lest then 5 sec....
for (a=0; a<=y; a++)
for (b=0; b<=y/2; b++)
for (c=0; c<=y/3; c++)
if ((a + 2*b + 3*c) == y)
this is the question -finds the solution for the equation a + 2b + 3c = y, where a, b, c, y are natural numbers (0,1,2,....). Given the value of y, the program find out all the possible cobinations of a, b and c. and after i convert to asm there is eror in divide..