Q3Microprocessor and Interfaces
Question
2 marks
What is a Stack?
Answer
A stack is a Last-In-First-Out (LIFO) data structure in memory.
A stack is a Last-In-First-Out (LIFO) data structure in memory. It is used by the microprocessor to temporarily store data and memory addresses, especially during subroutine calls and interrupts.