I have a part of my code
je cx16 (it's will dec cx and jump loop)
when cx = 3
i will get ax =3
ax will become H=55 L= 56
and dx = 1
Please could you tell me what did i do wrong here?
Best How To :
div di divides the 32 bit quantity
di. We don't know what value your
bx has, but presumably it produces
dx=1 (due to the
adc dx, dx). So the division is going to be
0x10003 / 3 = 0x5556 remainder
1, and that's exactly what you see.
PS: learn to use a debugger, and read the instruction set reference as appropriate.