SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
Linda Null ,julia Lobur
Chapter:
A Closer Look At Instruction Set Architectures
Exercise:
Exercises
Question:13 | ISBN:9780763704445 | Edition: 3

Question

13. Suppose we have the instruction Load 1000. Given that memory and register R1 contain the values below:

Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below:

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

Immediate Addressing Mode: is so-named because the value to  be referenced immediately follows the operation code in the instruction .

Direct Addressing Mode: Mode: is so-named because the value to  be referenced is obtained by specifying its memory address directly in the instruction .

Indirect Addressing mode : In this mode , the bits in the address field specify a memory address that is to be used as a pointer. The effective address of the operand is found by going to this address.

Indexed Addressing mode: A index register(either Explicitly or implicitly designated ) is used to store an offset, which is added to the operand resulting in the effective address of the data.    

From the given information, the following results have generated:

Mode

Value loaded into AC

Immediate Addressing Mode

1000

Direct Addressing Mode

1400

Indirect Addressing Mode

1300

Indexed Addressing Mode

1000

 

0 0

Discussions

Post the discussion to improve the above solution.