Question: 2. [Memory Access] - Given the following memory map, for each instruction: i) Describe what it does i) Write down the address of the memory
![2. [Memory Access] - Given the following memory map, for each](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f56b5d4920c_83666f56b5ce300d.jpg)
2. [Memory Access] - Given the following memory map, for each instruction: i) Describe what it does i) Write down the address of the memory operand in) Write down what value is written to the destination register or memory location. iv) If the instruction is illegal or results in an error, say so - Treat the instructions as a program, not individual instructions. Assume little endian. - Write the final content of the memory and registers. LABEL ADDRESS INITIAL CONTENTS OxAO 1 OxA1 b: OxA2 3 OxA3 OxA4 OXAS OxA6 OxA7 a: 0 2 c 4 EC413 Computer Organization, Spring 2021 d: e: f: 8 9 10 11 12 13 14 15 16 17 18 19 OxA8 OxA9 OxB0 OxB1 OxB2 OxB3 OxB4 OxBS OxB6 OxB7 OxB8 OxB9 h: i: LA $t0,a LW $so,d SB $t0,13(Szero) LA St3,f LB St4,0($t3) SW $t0,1 LH $t1,0(St3) SH Stig LW $t5,17(Szero) LBUL SAS f 2. [Memory Access] - Given the following memory map, for each instruction: i) Describe what it does i) Write down the address of the memory operand in) Write down what value is written to the destination register or memory location. iv) If the instruction is illegal or results in an error, say so - Treat the instructions as a program, not individual instructions. Assume little endian. - Write the final content of the memory and registers. LABEL ADDRESS INITIAL CONTENTS OxAO 1 OxA1 b: OxA2 3 OxA3 OxA4 OXAS OxA6 OxA7 a: 0 2 c 4 EC413 Computer Organization, Spring 2021 d: e: f: 8 9 10 11 12 13 14 15 16 17 18 19 OxA8 OxA9 OxB0 OxB1 OxB2 OxB3 OxB4 OxBS OxB6 OxB7 OxB8 OxB9 h: i: LA $t0,a LW $so,d SB $t0,13(Szero) LA St3,f LB St4,0($t3) SW $t0,1 LH $t1,0(St3) SH Stig LW $t5,17(Szero) LBUL SAS f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
