I have a program in assembly for the Linux terminal that\'s supposed to work through a series of mathematical manipulations, compare the final value to 20, and then using if
I think the problem is here:
div ebx add ecx, 1 ;(a+b*c)/(d-e*f) + 1
The result of the div instruction is not in ecx.
div
ecx