Question: Computer Arctectire PROBLEMI (20 points) Consider the following program: ORIG 3000 LD R2, ZERO LD RO, MO LD RI, M LOOP BRZ DONE ADD R2,

Computer Arctectire
Computer Arctectire PROBLEMI (20 points) Consider the following program: ORIG 3000 LD

PROBLEMI (20 points) Consider the following program: ORIG 3000 LD R2, ZERO LD RO, MO LD RI, M LOOP BRZ DONE ADD R2, R2, RO ADD RI, RI, -1 BR LOOP DONE ST R2, RESULT HALT RESULT FILL x0000 ZERO FILL x0000 .FILL x0004 M .FILL X0803 . END N a) What does this program do? (10) b) What value will be contained in RESULT after the program runs to completion

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!