All Exams Test series for 1 year @ ₹349 only
Question

Which of the following statement is not correct about addressing modes ?

The correct answer is
Relative addressing cannot be used for branch instruction

Addressing Modes: Statement Analysis

This question requires identifying the incorrect statement regarding various CPU addressing modes commonly used in computer architecture.

Evaluating Addressing Mode Statements

  • Immediate Addressing: This mode places the operand directly within the instruction itself. As it doesn't require an extra memory fetch to retrieve the operand, it generally speeds up execution, making the statement 'Immediate addressing reduces memory access time' correct.
  • Index Addressing: This mode calculates the effective address by adding the contents of an index register to a base address specified in the instruction. It is highly efficient for accessing elements within arrays or tables, confirming that 'Index addressing is used for accessing array elements' is correct.
  • Register Indirect Addressing: In this mode, the instruction specifies a register that contains the memory address of the operand. This allows the processor to access data indirectly through a pointer stored in a register, validating that 'Register indirect addressing allows accessing memory via a pointer' is correct.
  • Relative Addressing: This mode computes the effective address by adding an offset (usually from the instruction) to the current value of the Program Counter (PC). This technique is very common for implementing branch instructions (like jumps and conditional jumps) because it allows specifying targets relative to the current instruction's location. Therefore, the statement 'Relative addressing cannot be used for branch instruction' is fundamentally incorrect.

Conclusion on Incorrect Statement

Based on the analysis, the statement that is not correct is that relative addressing cannot be used for branch instructions. In fact, it is a primary method for implementing them.

Was this answer helpful?

Important Questions from Miscellaneous

  1. Which of the following scheduler/schedulers is/are also called CPU scheduler ?
    (A). Short Term Scheduler
    (B). Long Term Scheduler
    (C). Medium Term Scheduler
    (D). Asymmetric Scheduler
    Choose the correct answer from the options given below:
  2. A situation where two or more processes are blocked, waiting for resources held by each other is called:
  3. External fragmentation occurs ________.
  4. Which disk scheduling algorithm looks for the track closest to the current head position?
  5. Which CPU scheduling algorithm prefers the process with the shortest burst time?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App