comment / Description: This program get two integers from the user It will store the first integer into a dword Then it will sum up the two integer Store the sum into another dword Finally, output the sum of the two integers / TITLE SumTwoInteger (SumTwoInt.asm) INCLUDE Irvine32.inc ;This is where we declare all the data information .data ;Assign String to x x BYTE "Enter first integer: ", 0 ;Assign String to y y BYTE "Enter second integer: ", 0 ;Assign String to output output BYTE "The sum of two integers: ", 0 ;val can hold an unknown 32-bit val dword ? ;This is the main procedure of the program .code main PROC ;Create a cmd console call clrscr ;Get the first integer from the user mov edx, OFFSET x ;Write the value of x to the console call writestring ;Get the user input call readdec ;Store the user input into val mov val, eax ;Skip line call crlf ;Move the values in y into edx mov edx, OFFSET y ;Write the value of y into the console call writestring ;Get the user input call readdec ;Add the first and second integer together ;Then store the value back into eax add eax, val ;Skip line call crlf ;Move the values of output into edx mov edx, OFFSET output ;Write the values in edx to the console call writestring ;Write the sum of the two integers into the console call writedec ;skip line call crlf exit main endp END main