Click here to Skip to main content
15,902,938 members

Comments by Vee Jay Recana (Top 2 by date)

Vee Jay Recana 11-May-21 11:39am View    
Hi @OriginalGriff, currently I'm stuck at getting the remainder and quotient. I tried dividing cx(sum) to sev(7) and wasn't able to display the quotient and remainder.

xor ah,ah
add al,cl
aaa

mov cx,ax
add cx,3030h
div sev

mov dx, offset sum
Vee Jay Recana 11-May-21 10:51am View    
Can someone help me if how should I extract quotient and remainder and display together?
For example, I have a quotient of 1 and a remainder of 6, it should output 16. How should I do that?