Question
Download Solution PDFWhich of the following addressing mode is best suited to access elements of an array of contiguous memory locations ?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is option 1
Key Points
Indexed addressing mode is best suited to access the elements of an array of contiguous memory locations.
Here, the effective address is calculated as the sum of the contents of Index Register SI or DI and the displacement.
Accessing registers is much faster than accessing memory locations.
So, when an operation is performed on elements of an array, the execution is much faster.
Additional Information
Base Register addressing mode: In this mode effective address is calculated by adding base register value to address field value.
Relative Address mode: In this mode, effective address is calculated by adding accumulator and value in address part of the instruction.
Displacement mode: In this mode, the address of the operand is formed by adding the displacement to the contents of the specified register in the instruction.
Last updated on Jun 22, 2025
-> The UGC Net Admit Card has been released on its official website today.
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.