Stack Flashcards
1
Q
A
2
Q
Where is stack allocated and what size addresses does ARMv8 use?
A
Primary memory, 64 bits, it can address 2^64 bytes of memory
3
Q
___ is pushed onto the stack when function is called
A
stack frame
4
Q
stack uses high or low memory? which direction does the stack grow towards?
A
high, towards 0
5
Q
What is the heap used for?
A
Dynamically allocated memory in a program
6
Q
what does the frame pointer do?
A
points to local variables in a stack frame