I am doing a project that I use doubleword(DX:AX) / word(operand). So I should get the Quotient on AX and Remainder in DX as I know.
when I do this:
MOV DX,0A8D2h
MOV AX,08310h
MOV BX,0F8FCh
DIV BX
I should get AD94 on AX and 4560 in DX.
AX have the right value but DX is zero for some reason when I examine registers in emu8086's built-in debugger.
I do not know if I am missing something or it is a exception for 8086 but thanks to all if you can help. I am using emu8086.