Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. [ 5 Marks] A) Write and Run the Assembly language instructions to do the following: 1. Load the value 1 to register B and

image text in transcribed

Q2. [ 5 Marks] A) Write and Run the Assembly language instructions to do the following: 1. Load the value 1 to register B and the value 2 to register C and load some value to memory location whose address is 10. 2. Read the value stored in memory location whose address is 10 and do the following: if the value is less than 8 then add 4 to register B. If the value is greater than 8 then add 5 to register C. If the value is equals to 8 then load the value 3 to memory location whose address is 11. B) Load three different values to memory location whose address is 10 (first value should be less than 8, the second value should be greater than 8 and the third value is 8) then then fill the following table after your code is successfully executed for three different cases of input: Memory Case Register Flag Memory Flag location Register B Register C A location 11 10 1 2 3 S Z

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_2

Step: 3

blur-text-image_3

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 In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

2. What type of team would you recommend?

Answered: 1 week ago