Stack Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

___ is pushed onto the stack when function is called

A

stack frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

stack uses high or low memory? which direction does the stack grow towards?

A

high, towards 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the heap used for?

A

Dynamically allocated memory in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does the frame pointer do?

A

points to local variables in a stack frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly