Include Irvine32.inc .data msgA byte " Enter value for ebx : ",0 msgB byte " Enter value for eax : ",0 num1 dword 0 num2 dword 0 msgC byte " After Swapping",0 msg1 byte" eax has :",0 msg2 byte" ebx has : ",0 .code MAIN PROC mov edx,offset msgA call writestring call readint mov num1,eax mov ebx,eax call crlf mov edx,offset msgB call writestring call readint mov num2,eax call crlf mov edx,offset msgC call writestring call crlf xchg eax,ebx mov edx,offset msg1 call writestring call writeint call crlf mov edx,offset msg2 call writestring xchg eax,ebx call writeint call crlf EXIT main ENDP END main