Question: 3) [Memory Access, Addressing Modes] -- Given the following memory map, for each instruction: i) circle the memory operands, ii) write down the address of
3) [Memory Access, Addressing Modes] -- Given the following memory map, for each instruction: i) circle the memory operands, ii) write down the address of the memory operand, and iii) write down what value is written to the destination register or memory location. If the instruction is illegal or results in an error, say so. Treat the instructions as a program, not individual instructions. LABEL ADDRESS INITIAL CONTENTS a: 0 0xA0 1 0xA1 b: 2 0xA2 3 0xA3 c: 4 0xA4 5 0xA5 6 0xA6 7 0xA7 d: 8 0xA8 9 0xA9 10 0xB0 11 0xB1 e: 12 0xB2 f: 13 0xB3 g: 14 0xB4 h: 15 0xB5 i: 16 0xB6 17 0xB7 18 0xB8 19 0xB9 LA $t0,a LW $s0,d SB $t0,13($zero) LA $t3,f LB $t4,0($t3) SW $t0,i LH $t1,1($t3) SH $t1,g LW $t5,17($zero) LBU $t5,f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
