Question: A simple byte oriented microcontroller has a 1 6 - bit stack pointer ( SP ) register that points to the next empty memory location
A simple byte oriented microcontroller has a bit stack pointer SP register that points to the next empty memory location in the stack. A PUSH instruction loads an operand into the stack and then decrements the SP; a PULL instruction increments the SP and then unloads an operand from the stack. Which of the following is NOT a common use for a memory stack of the type described above?
a The stack can be used to store parameters passed among subprograms.
b The stack can be used to store program counter return links for nested subprograms.
c The stack can be used to sequentially store synchronously received input data.
d The stack can be used to store and retrieve randomly accessed database records.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
