Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 11 code: [list -] %INCLUDE Along32.inc %INCLUDE Macros_Along.inc [list +] SECTION .data first dd 0x1000 second dd 0o1000 third dd 0b1000 fourth dd 0d1000

image text in transcribed

Lab 11 code:

[list -] %INCLUDE "Along32.inc" %INCLUDE "Macros_Along.inc" [list +]

SECTION .data first dd 0x1000 second dd 0o1000 third dd 0b1000 fourth dd 0d1000

SECTION .bss

SECTION .text global _start

_start: call DumpRegs mov eax, [first] call DumpRegs add eax, [second] call DumpRegs add eax, [third] call DumpRegs add eax, [fourth] call DumpRegs

Exit {0}

Modify Lab 11 to use unitialized variables for the addends. Reserve four doublewords in the .bss section to represent the addends. Use only the eax register. 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;Lab12 A sample execution sequence is shown in Figure 1. To use the Makefile as distributed in class, add a target of lab12 to targetsAsmLanguage

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

Lab 4 - 2 staywell student accomodation

Answered: 1 week ago