Difference between memory stack and register stack
Answers
Answered by
57
A register stack is usually associated with the CPU. This stack can be accessed at a very fast rate. It is fairly small in size.
Answered by
36
We begin by defining a stack :
This is a list of data elements usually bytes or words, with access restrictions that the element can be added or removed from any of the two ends of the list that is top and bottom.
The difference between the memory stack and the register stack is :
1. The operation of the memory stack is exactly similar to the operation of the register stack but the memory stack is implemented using computer memory instead of the CPU register array.
2. The memory stack is slower than the register stack since the register stack needs not a memory access being that the register is internal to the CPU.
This is a list of data elements usually bytes or words, with access restrictions that the element can be added or removed from any of the two ends of the list that is top and bottom.
The difference between the memory stack and the register stack is :
1. The operation of the memory stack is exactly similar to the operation of the register stack but the memory stack is implemented using computer memory instead of the CPU register array.
2. The memory stack is slower than the register stack since the register stack needs not a memory access being that the register is internal to the CPU.
Similar questions
English,
8 months ago
Math,
8 months ago
Computer Science,
8 months ago
Math,
1 year ago
Physics,
1 year ago