Question: 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

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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!