tags:

views:

23

answers:

2

Please tell me any hardware application of stack. as printer is hardware application of queue.

A: 

CPU implementations make extensive use of stacks at a hardware level. But I guess that is not the sort of hardware you meant.

benPearce
A: 

What I can think of is CPU. It has a stack pointer (or several in most cases) to point to the top address of the stack, and the hardware will automatically increase (or decrease) the stack pointer as data is pushed or popped. Not sure whether it's what you want.

LLS