Question: emu8086 Exercise 4: Arithmetic program In this exercise you are required to construct your own program to perform arithmetic operations based on the last four
Exercise 4: Arithmetic program In this exercise you are required to construct your own program to perform arithmetic operations based on the last four digit of your student ID. Assume that the last four digits of your student ID are abcd. You are required to perform the following arithmetic operation: 2* (abio + cd10) * (510 + ab 10) -510 Your final answer should be stored in the AX register. 1. Click on "com template" from "file" -> "new". 2. Edit your source code in the template. 3. Emulate the program and single-step the code. Observe and record the contents of the registers each time after single-stepping. Deduce the reasons of the changes taking place in the registers. Include all your observations and descriptions in your lab report. 4. Calculate the answer for the arithmetic operations using a calculator and validate the final answer with the content of the AX register. Include this in your lab report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
