Question: Need help in this please. This is aseembley language. Write a program that calculates the following expression: total =( num 3+ num4) ( num 1+


Need help in this please. This is aseembley language.
Write a program that calculates the following expression: total =( num 3+ num4) ( num 1+ num 2)+1. Sample Run/Program Template EAX=007D3003EBX=0093400AECX=00E11005EDX=00A11005ESI=00A14000EDI=00A11005EIP=00A1107FESP=007DFB40EBP=007DFB4CEFL=00000206OV=0UP=0EI=1PL=0ZR=0AC=0PE=1CY=0 Specifications - Include the following items in the program header: - Description - Student Name - Course Number - Project Number - Date - Use the following settings: - 32-bit processor - protected mode and standard call convention - 4096-byte stack - ExitProcess prototype with a parameter - Create an array of 16-bit signed integers: 1000h, 2000h, 3000h, and 4000h. - Define data labels: num1, num2, num3, and num4 which are initialized with 1, 2, 4, and 8, respectively. - Define another uninitialized variable named total. - Add each array element value to each data label and store its sum in that variable. - Calculate the expression using some of the following directives, registers, and instructions: OFFSET, PTR, TYPE, ESI, EAX, AX, EBX, BX, MOV, ADD, SUB, and INC. - Save the result in total. - Place comments in your code where needed. - Run your program and verify the content of EAX for the correct result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
