Question: Q3. [ 5 Marks] A Write and Run the Assembly language instructions to do the following: 1. Load some value to the memory location whose

 Q3. [ 5 Marks] A Write and Run the Assembly language
instructions to do the following: 1. Load some value to the memory

Q3. [ 5 Marks] A Write and Run the Assembly language instructions to do the following: 1. Load some value to the memory location whose address is 4, and load the value 1 to register B. 2. Read the value stored in memory location whose address is 4 and check it: if the value is less than or equals to 0 then load the value 0 to register B If the value is greater than 0 then repeat increment the value of register B by 1 until it reaches the value 10 B) Load two different values to memory location whose address is 4 (the first value should 0, the second value should be greater than 0) then then fill the following table after your code is successfully executed for two different cases of input Case Memory location Register A Register B Flag s Flag z 1 2

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!