In case the code is position-dependent, the most suitable addressing mode is:

This question was previously asked in
ESE Electronics 2012 Paper 2: Official Paper
View all UPSC IES Papers >
  1. Direct mode
  2. Indirect mode
  3. Relative mode
  4. Indexed mode

Answer (Detailed Solution Below)

Option 3 : Relative mode
Free
ST 1: UPSC ESE (IES) Civil - Building Materials
20 Qs. 40 Marks 24 Mins

Detailed Solution

Download Solution PDF

If the code is position-dependent, then a suitable addressing mode is a relative addressing mode.

The effective address is computed from X (PC, X bytes away from the address pointed by the program counter.

Relative addressing mode uses a program counter and indexed addressing mode uses and general-purpose register.

Latest UPSC IES Updates

Last updated on Jul 2, 2025

-> ESE Mains 2025 exam date has been released. As per the schedule, UPSC IES Mains exam 2025 will be conducted on August 10. 

-> UPSC ESE result 2025 has been released. Candidates can download the ESE prelims result PDF from here.

->  UPSC ESE admit card 2025 for the prelims exam has been released. 

-> The UPSC IES Prelims 2025 will be held on 8th June 2025.

-> The selection process includes a Prelims and a Mains Examination, followed by a Personality Test/Interview.

-> Candidates should attempt the UPSC IES mock tests to increase their efficiency. The UPSC IES previous year papers can be downloaded here.

More Addressing Modes Questions

Hot Links: teen patti master king teen patti joy 51 bonus teen patti win