Q. When a subroutine is called, the address of the instruction following the CALL instructions stored in/on the:
In computer programming, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.
Q. What is stack memory in a microprocessor?
A stack is a separate memory location in R/W memory where microprocessor puts its program counter and program to do some other work intended like an interrupt or subroutine call.
- Stack Pointer
- Accumulator
- Programs counter
- Stack
Answer: Stack
Stack and Subroutine
Q. What is the meaning of subroutine?In computer programming, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.
Q. What is stack memory in a microprocessor?
A stack is a separate memory location in R/W memory where microprocessor puts its program counter and program to do some other work intended like an interrupt or subroutine call.
No comments:
Post a Comment
What you have to say about this?