Question: Problem 2 (10 points). The following LC-3 program increments each of the numbers stored in memory location A through memory location B. Assume these locations
Problem 2 (10 points). The following LC-3 program increments each of the numbers stored in memory location A through memory location B. Assume these locations have already been initialized with meaningful numbers. The addresses A and B can be found in memory locations x3100 and x3101. a. Fill in the missing instructions of the code x3000. x3001 x3002 X3003 x3004. x3005 x3006 X3007 x3008 x3009 x300a x300b x300c 1111 0000 0010 0101 RO - MIx3100 R1 <. mix31011- r1 r3 ro brz pc x005 if z go to x300c r2 miro1 using ldr miro- str brozp x007 i.e. n x3005 halt b. after the above program finishes execution what value in will save as address b>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
