This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ; div cx ;ax/cx in this case input1/input2 ; mov ax, cx ; move old B value to A value. mov cx, dx ; Move to B value remainder. ; mov ax, dx m ;call WriteHex ;call Crlf mov ax, answ m loop euclid e finish: mov ax, answ m call WriteHex call Crlf c exit main ENDP m END main...
View Full Document
This note was uploaded on 12/30/2009 for the course COS 231 taught by Professor Jasonlitz during the Summer '09 term at Thomas Edison State.
- Summer '09