Using the AddTwo program from Section 3.2 as a reference, write a program that calculates the following expression, using the general purpose registers of the x86 architecture:
EAX=(EAX+EBX)−(ECX+EDX).
Of course, you want to assign integer values to the EAX, EBX, ECX, and EDX registers before you evaluate the expression. Insert a call DumpRegs statement to display the register values as shown in the program AddTwo.
Note: The routine DumpRegs is available in a library of routines provided by the author of the textbook, K. Irvine.)
Use the following values of the registers: EAX=3174,EBX=9825,ECX=4153 and EDX=7936 to test your program.