Please explain the answers EA for #4 and #5 Assignment 1: For each ARM instructi
ID: 3349099 • Letter: P
Question
Please explain the answers EA for #4 and #5 Assignment 1: For each ARM instruction below, answer the following questions 1. What is the addressing mode of the instruction? We only consider four modes: indirect mode, pre- indexed mode, pre-indexed with writeback mode, and post-indexed mode. 2. What is the effective address (EA) of the operand? What will be the change to the content of memory or registers after the instruction is executed? Before each instruction is executed, the initial content of memory and processor registers is shown in the figure below. Please note that, the instructions are executed individually. The execution of each instruction does not depend on the results of other instructions. address memory 0x0000.1000 0x0000.0011 0x0000.1004 0x0000.0022 0x0000.1008 0x0000.0033 register OxFFFF.FFFF RO Ox0000.100C 0x0000.0044 0x0000.1010 0x0000.0055 0x0000.1014 0x0000.0066 0x0000,1004R2 oxo000.10180x0000.0077 0x0000.0001R3 x0000.101c0x0000.0088 x0000.0010 R4 0x0000.1020x0000.0099 Ox0000.1010 R1
Explanation / Answer
5. Effective Address is obtained by adding contents of R1 and the contents of R4 which are left shited by 2.