The addressing mode/s, which uses the PC instead of a general-purpose register is : 

This question was previously asked in
NIELIT Scientific Assistant CS 5 Dec 2021 Official Paper
View all NIELIT Scientific Assistant Papers >
  1. Indexed with offset
  2. Relative 
  3. Direct 
  4. Both Indexed with offset and direct

Answer (Detailed Solution Below)

Option 2 : Relative 
Free
NIELIT Scientific Assistant Quantitative Aptitude Mock Test
0.6 K Users
20 Questions 20 Marks 30 Mins

Detailed Solution

Download Solution PDF

The correct answer is Relative.

key-point-image Key Points

  • In computer architecture, the relative addressing mode uses the Program Counter (PC) instead of a general-purpose register to determine the address of the next instruction.
  • This mode calculates the effective address by adding a constant value (offset) to the current value of the PC.
  • It is commonly used in branch instructions where the target address is specified relative to the current instruction location.
  • The relative addressing mode helps in writing position-independent code, which is useful for creating relocatable object files.

additional-information-image Additional Information

  • Relative addressing mode is often used in loop control and conditional branch instructions.
  • It simplifies code generation in assemblers and compilers by allowing more flexible code placement.
  • It can enhance program security by making it more challenging for malicious actors to predict exact memory addresses.
  • Examples of assembly instructions using relative addressing include conditional jumps like JZ (Jump if Zero), JNZ (Jump if Not Zero), etc.
Latest NIELIT Scientific Assistant Updates

Last updated on Jun 12, 2025

-> NIELIT Scientific Assistant city intimation slip 2025 has been released at the official website.

-> NIELIT Scientific Assistant exam 2025 is scheduled to be conducted on June 28. 

-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.

-> Online application form, last date has been extended up to from 17th April 2025.

->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.

 

-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).

More Instruction Format Questions

More Machine Instructions and Addressing Modes Questions

Get Free Access Now
Hot Links: teen patti game online teen patti pro teen patti sweet teen patti jodi teen patti rules