This preview shows page 1. Sign up to view the full content.
Unformatted text preview: adden1 SDWORD ? ;adden2 SDWORD ? sum SDWORD ? s .code main PROC m call Clrscr mov dh,8 mov dl,40 call Gotoxy call ReadInt mov adden1, eax mov dh,9 mov dl,40 call Gotoxy call ReadInt mov sum, eax ;Move 2nd value directly into sum. mov eax, adden1 add sum, eax mov dh,10 mov dl,40 call Gotoxy ;mov eax, sum ;call WriteInt mov edx,OFFSET sum call WriteString call Crlf c exit main ENDP 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