Question: For the Following operations in the arctool program below 11. (10 pts) For the following operations in the ARCTool program below: . the instruction be

For the Following operations in the arctool program below 11. (10 pts)For the Following operations in the arctool program below

11. (10 pts) For the following operations in the ARCTool program below: . the instruction be is defined in table 4.10 as branch equal (z ) the instruction ba is defined as brunch always: Write the instruction the program jumps to when be here+4 branches on the 1t pass through the code? Answer a. b. Write the instruction the program jumps to when ba here-4 completes its branch? Answer: .begin org 0 -1 : 20 15 here: orncc %r2, %r0, %r3 addcc %r3, 1, %r3 he here+4 addec %r1, %r3, %r4 ba here-4 end 11. (10 pts) For the following operations in the ARCTool program below: . the instruction be is defined in table 4.10 as branch equal (z ) the instruction ba is defined as brunch always: Write the instruction the program jumps to when be here+4 branches on the 1t pass through the code? Answer a. b. Write the instruction the program jumps to when ba here-4 completes its branch? Answer: .begin org 0 -1 : 20 15 here: orncc %r2, %r0, %r3 addcc %r3, 1, %r3 he here+4 addec %r1, %r3, %r4 ba here-4 end

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!