Question: 2. Consider a 32-bit processor in which the following appears in main memory, starting at location 100: 100 Load to AC Mode 101 600 102

2. Consider a 32-bit processor in which the following appears in main memory, starting at location 100: 100 Load to AC Mode 101 600 102 Next instruction The first part of the first word indicates that this instruction loads a value into an accumulator. The Mode field specifies an addressing mode and, if appropriate, indicates a source register; assume that when used, the source register is R1, which has a value of 400. There is also a base register that contains the value 200. The value of 600 in location 101 may be part of the address calculation. Assume that location 399 contains the value 999, location 400 contains the value 1000, and so on. 100 101 R1 400 Load to AC Mode 600 Next instruction 102 Base Register 200 399 400 999 1000 500 600 1200 702 1302 1100 1700 1800 1200 Determine the effective address E(A) and the operand to be loaded for the following address modes: a) Immediate b) Indirect c) Register indirect Page 717 +
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
