Question: My Process So Far, Please Include And Fix: [list -] %INCLUDE Along32.inc %INCLUDE Macros_Along.inc [list +] SECTION .data SECTION .bss val1 resd 1 val2 resd
![My Process So Far, Please Include And Fix: [list -] %INCLUDE](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c67b2b318_09066f3c67aa5ca5.jpg)
My Process So Far, Please Include And Fix:
[list -] %INCLUDE "Along32.inc" %INCLUDE "Macros_Along.inc" [list +]
SECTION .data
SECTION .bss val1 resd 1 val2 resd 1 val3 resd 1
SECTION .text global _start
_start: call ReadInt mov [val1], eax call ReadInt mov [val2], eax call ReadInt mov [val3], eax mov esi, val1 mov ecx, 12 mov ebx, 1 call DumpRegs Exit {0}
Reserve three doublewords in the .bss section to represent the variables val1, val2, and val3. Accept values for the variables through standard input. Do not alter the contents of the locations symbolically referred to as val1, val2, and val3 after they have been read in. Use only the eax register to compute val1val2val3 Show the contents of the registers after each step in the calculation. Your program should adhere to ordinary rules of algebraic precedence and associativity. Add an identification section as shown below to the top of your source file. ;Yourname;CS3304;Lab14 A sample execution sequence is shown in Figure 1. To use the Makef ile as distributed in class, add a target of lab14 to targetsAsmLanguage
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
