Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How would i write an assebly program that: The first number will be referenced by the label num1 and the second number will be referenced

How would i write an assebly program that:

The first number will be referenced by the label num1 and the second number will be referenced by the label num2.

The upper 32 bits of the sum should be placed in EDX and the lower 32 bits in EAX.

AFTER the last line of code that you wish to be executed in your program please place the label done.

Make sure that there is an instruction after the done line and a new line after that instruction. If you don't your output won't match mine.

I have included a Makefile for you that will compile your program

You must also make sure to include the done label AFTER the last line of code you want executed in your program so that I know where to set break points.

The following table shows how the numbers will be laid out in memory.

num1: | Upper 32 bits of num1 | Lower 32 bits of num1 num2: | Upper 32 bits of num2 | Lower 32 bits of num2

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

Step: 3

blur-text-image

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago