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,
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
Get step-by-step solutions from verified subject matter experts
