Question
Consider a 16-bit processor in which the following appears in main memory, starting at location 100: 100 | Load to AC | Mode 101 |
Consider a 16-bit processor in which the following appears in main memory, starting at location 100:
100 | Load to AC | Mode 101 | 400 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 100. There is also a base register that contains the value 100. The value of 400 in location 101 may be part of the address calculation. Assume that location 199 contains the value 99, location 200 contains the value 100, and so on. Determine the effective address (EA) and the operand to be loaded for the following address modes: For simplicity, all numbers indicated here are in decimal (address and data).
a. direct addressing
b. immediate addressing
c. Indirect addressing
d. register addressing
e. register indirect addressing.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started