-
Suppose a processor does not have any stack pointer register. Which of the following statements is true?
-
- It cannot have subroutine CALL instruction
- It can have subroutine CALL instruction, but no nested subroutine CALLS
- Nested subroutine CALLS are possible, but interrupts are not
- All sequences of subroutine CALLS and also interrupts are possible
- It cannot have subroutine CALL instruction
Correct Option: A
Stack pointer register holds the address of top of stack, which is the location of memory at which the CPU should resume its execution after servicing some interrupt or subroutine call. So if SP register not available then no subroutine call instructions are possible.
Hence (a) is correct option.