Question: Question 3 (2 points) Assume a 32-bit, word-aligned RISC processor. Which of the following addresses are appropriate values for PC? OxCAFE OxBEEF OXACDC OXACAB Question



Question 3 (2 points) Assume a 32-bit, word-aligned RISC processor. Which of the following addresses are appropriate values for PC? OxCAFE OxBEEF OXACDC OXACAB Question 5 (2 points) Saved Consider the following sequence of ARM instructions. Assuming they are fetched and decoded in order, which of them will execute? Assume R4 = 7. CMP R4, #8 ADDLT RO, RO, #1 MOVLE R1, #4 SUBGT R2, R2, #4 Question 7 (2 points) Saved LDR RO, y and LDR RO, ry only differ by a character, but have very different consequences when assembled and executed. For each option, select among (i) true for LDR RO, y; (ii) true for LDR RO, =y; (iii) true for both; and (iv) true for neither. Uses SP-relative addressing. 1. True for LDR RO, Y Puts the value of y in RO. 2. True for LDR RO, =y Puts a pointer to y in RO. 3. True for both 4. True for neither 2 Uses PC-relative addressing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
