NIC-NIELIT Scientist-B 2020
October 19, 2023
Factors-Affecting-Teaching
October 19, 2023
NIC-NIELIT Scientist-B 2020
October 19, 2023
Factors-Affecting-Teaching
October 19, 2023

GATE 2001

Question 10

Suppose a processor does not have any stack pointer register. Which of the following statements is true?

A
It cannot have subroutine call instruction
B
It can have subroutine call instruction, but no nested subroutine calls
C
Nested subroutine calls are possible, but interrupts are not
D
All sequences of subroutine calls and also interrupts are possible
Question 10 Explanation: 
If stack pointer register is not available then activation records in the stack cannot be created. So it cannot have subroutine call instruction.
Correct Answer: A
Question 10 Explanation: 
If stack pointer register is not available then activation records in the stack cannot be created. So it cannot have subroutine call instruction.

Leave a Reply

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