Answered step by step
Verified Expert Solution
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 :
Slove this Question using emulator
"Show your work" zero for any copies
By using emulator
Write a code to calculate all these vars
Note: you must add your name and student ID in a comment
wordl DW H
word DW FH
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:
Adding the two words and store the result in SUM.
Subtracting word from wordI and store the result in DIFF.
Multiplying the two words, and store the result in MILTIP.
Dividing word by word then save the RESULTIBY and the REMAINDERBY
Dividing word by wordl then save the RESULTBY and the REMAINDERBY
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started