Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part II. Write an 80x86 Assembly Program to verify your answers to Part I. 0. Access shemp.cs.mtsu.edu using the Remote Desktop App. 1. Create a

image text in transcribed

Part II. Write an 80x86 Assembly Program to verify your answers to Part I.

0. Access shemp.cs.mtsu.edu using the Remote Desktop App.

1. Create a Visual Studio 2015 project named YourLastnameCLA3.

2. Add an .asm file that contains appropriate instructions to verify your answers to Part I.

3. Run the debugger line by line to verify your answers.

Set a breakpoint next to the first statement in the code section. (Click on left side of the statement.)

F5 or Debug Start debugging

Debug Windows Registers

Right-click on the Registers window and check Flags

Note that Visual Studio shows the carry flag, CF as CY and the overflow flag OF as OV.

4. Debug and trace the execution of the program until ret statement and capture the Visual Studio screen.

The screen must show the source code and the registers windows.

Copy and paste the screen shot in a file and name it YourLastNameCLA3_trace.pdf

Part I. Fill in the blanks for each of the following addition/subtract problems. Instructions used to Results: Sum/Difference Result correct Result correct Problem CF OF as unsigned? as signed? verify the answers mov ax, OFFFAH mov bx, OFFFBH add ax, bx FFFA + FFF5 Yes No FFFB 6D + 7E E9 + 8F mov al, 6Ah mov bl, OAFH AF BB No No sub al, bl FD CB - 6C 2F - 4D CB

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

2. Describe why we form relationships

Answered: 1 week ago

Question

5. Outline the predictable stages of most relationships

Answered: 1 week ago