Dynamic Memory Addressing

Dynamic Memory Addressing

Prev Question Next Question

Question

Which of the following best corresponds to the type of memory addressing where the address location that is specified in the program instruction contains the address of the final desired location?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

Indirect addressing is when the address location that is specified in the program instruction contains the address of the final desired location.

Direct addressing is when a portion of primary memory is accessed by specifying the actual address of the memory location.

Indexed addressing is when the contents of the address defined in the program's instruction is added to that of an index register.

Program addressing is not a defined memory addressing mode.

Source: WALLHOFF, John, CBK#6 Security Architecture and Models (CISSP Study Guide), April 2002 (page 2).

The type of memory addressing where the address location specified in the program instruction contains the address of the final desired location is known as indirect addressing.

Indirect addressing is a type of addressing mode used in computer architecture in which the address of the operand is not specified in the instruction itself, but rather it is contained in a register or memory location referenced by the instruction.

In indirect addressing, the instruction specifies a register or memory location that contains the actual memory address of the operand. The processor then accesses the memory location pointed to by the register or memory location to fetch or store the operand data.

Indirect addressing is useful in situations where the actual address of the operand is not known at the time the program is written or when the address is determined at runtime. This type of addressing is also used in cases where the same memory location is accessed by multiple instructions, making it easier to update the memory location in one place instead of modifying all the instructions that access it.

Direct addressing, on the other hand, is a type of addressing mode in which the operand is directly specified in the instruction itself, and the memory location is accessed directly. Indexed addressing is a type of addressing mode in which the address of the operand is determined by adding an offset to a base address contained in a register. Program addressing is not a valid type of addressing mode.