Stack Functions Flashcards

1
Q

PUSH

A

Add a value to the top of the stack. Causes stack to grow upward into lower memory, i.e., top of stack decrements. EBP remains constant, ESP decreases.

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

POP

A

Takes a value off the top of the stack and stores it in the indicated register.

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

Stack Frame

A

A program creates this to store its local variables.

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