Question: Here is the ANNA guide: https://seattleu.instructure.com/courses/1555572/files/62465985/download?wrap=1 2. Assume that ANNA files can now be assembled into object files and linked. Consider the following ANNA program

Here is the ANNA guide:

https://seattleu.instructure.com/courses/1555572/files/62465985/download?wrap=1

 Here is the ANNA guide: https://seattleu.instructure.com/courses/1555572/files/62465985/download?wrap=1 2. Assume that ANNA filescan now be assembled into object files and linked. Consider the following

2. Assume that ANNA files can now be assembled into object files and linked. Consider the following ANNA program and answer the following questions. For your convenience, addresses precede each instruction. They are not part of the instruction. (10 + 10 + 10) # Code section 0 start: lli r1 &count 1 lui rl &count 2 lwr2 rl 0 3 lli r3 &total 4 lui r3 &total 5 swr2 r3 0 6 lli r4 0 7 llir5 8 8 begin: sub r7 r4 r5 9 bgz r7 &end 10 llir7 &compute 11 lui r7 &compute 12 jalr r7 r6 13 swr3rl 0 14 lli r2 &tally 15 lui r2 &tally 16 lwr3 r2 0 17 addi r3 r3 1 18 swr3 r2 0 19 addi r4 r4 1 20 bez r0 &begin 21 end: lli r7 &output 22 lui r7 &output 23 jalr r7 r6 24 .halt 25 output: out r3 26 jalr r6 r0 2. Assume that ANNA files can now be assembled into object files and linked. Consider the following ANNA program and answer the following questions. For your convenience, addresses precede each instruction. They are not part of the instruction. (10 + 10 + 10) # Code section 0 start: lli r1 &count 1 lui rl &count 2 lwr2 rl 0 3 lli r3 &total 4 lui r3 &total 5 swr2 r3 0 6 lli r4 0 7 llir5 8 8 begin: sub r7 r4 r5 9 bgz r7 &end 10 llir7 &compute 11 lui r7 &compute 12 jalr r7 r6 13 swr3rl 0 14 lli r2 &tally 15 lui r2 &tally 16 lwr3 r2 0 17 addi r3 r3 1 18 swr3 r2 0 19 addi r4 r4 1 20 bez r0 &begin 21 end: lli r7 &output 22 lui r7 &output 23 jalr r7 r6 24 .halt 25 output: out r3 26 jalr r6 r0

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!