I am still new to the assembly, and still do not know many teams in the assembly. I want to do division in 16-bit register. I want to print its contents. I know that I need to convert the contents of the register to ASCII for printing, but again, my problem is separation. Please help me.
For example, the content of cx is 2012 (integer). What should I do?
mov ax, cx mov bx, 1000 idiv bx
The above code is incorrect, right?
source share