Averages
December 4, 2023
GATE 2002
December 4, 2023
Averages
December 4, 2023
GATE 2002
December 4, 2023

Question 9928 – Addressing-Modes

A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this processor?

Correct Answer: E

Question 3 Explanation: 
A) Cannot be implemented because pointers need indirect addressing mode.
B) Cannot be implemented because arrays need Register indexing.
C) Records also needs pointers which needs indirect addressing modes, so this also cannot be implemented.
D) Recursive procedures needs stack, and so it needs stack pointers which in turn needs indirect addressing. So this also cannot be implemented.
A
Pointers
B
Arrays
C
Records
D
Recursive procedures with local variable
E
All the above

Leave a Reply

Your email address will not be published. Required fields are marked *