Question: Use the register and memory values in Table 1 for the next questions. Assume a 32-bit machine with addressing modes as discussed in the COD

Use the register and memory values in Table 1 for the next questions. Assume a 32-bit machine with addressing modes as discussed in the COD book and lecture. Assume each of the following questions starts from the table values; that is, DO NOT use value changes from one question as propagating into future parts of the question. 1. Given the values of R1, R2, and R3 after this instruction: add r3, r2, r1 2. What values will be in R1 and R3 after this instruction is executed: ldr r3, [r1, #12] 3. What values will be in the registers after this instruction is executed: add r2, r3, #16 Table 1: Problem 4: Note: values given in decimal Register Value Memory Value R1 12 12 16 R2 16 16 20 R3 20 20 24 R4 24 24 28
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
