recategorized by
17,730 views
42 votes
42 votes

Suppose a processor does not have any stack pointer registers, which of the following statements is true?

  1. It cannot have subroutine call instruction
  2. It cannot have nested subroutines call
  3. Interrupts are not possible
  4. All subroutine calls and interrupts are possible
recategorized by

10 Answers

0 votes
0 votes

I maybe be wrong but I think if there is no stack pointer register then there is no use of Stack so subroutine call is not possible because subroutine calls are  a  set of instructions that are used repeatedly in a program which will not be possible without storing the activation record 

–1 votes
–1 votes

Explanation: Stack pointer register hold the address of top of stack, which is the location of memory at which CPU should resume its execution after servicing some interrupt or subroutine call.

So if SP register is not available then no subroutine call instructions are possible. So (A) is correct option.

http://quiz.geeksforgeeks.org/gate-gate-cs-2001-question-10/

Answer:

Related questions

23 votes
23 votes
5 answers
1
2 votes
2 votes
1 answer
4