Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Compuler Organiction A Architecture Lah Assignment 3 : Slove this Question using emulator 8 0 8 6 Show your work zero for any copies By

Compuler Organiction A Architecture Lah
Assignment 3:
Slove this Question using emulator 8086
"Show your work" zero for any copies
By using emulator 8086
Write a code to calculate all these vars
Note: you must add your name and student ID in a comment
wordl DW 0567H
word2 DW F055H
According to the below required mathematical operations, you have to determine the size of each directive, then go step by step in writing the assembly commented code that realizes the following:
1- Adding the two words and store the result in SUM.
2- Subtracting word2 from wordI and store the result in DIFF.
3- Multiplying the two words, and store the result in MILTIP.
4- Dividing word 1 by word2 then save the RESULT_IBY2 and the REMAINDER_1BY2.
5- Dividing word 2 by wordl then save the RESULT_2BY1 and the REMAINDER_2BY1.
After finishing each part:
Compile your code. (You need to save it if it is not already done!)
Read any error message (if any), revise the code to correct the error.
From the emulator GUI, display the variable and flags.
Emulate your code, and then from the emulator windows, go in Single
Step to inspect the results
and their reflection on Flag bits. "Show them after each operation"
You can use the mathematical multi base calculator to verify your results
Eng. Ibtehal Abu Hanea
image text in transcribed

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

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

Give details of the use of ICT in workforce planning

Answered: 1 week ago

Question

Explain the various meanings of and approaches to flexible working

Answered: 1 week ago