Intermediate
Assembly Language
Q50 / 100
What does the LEAVE instruction do?
Correct! Well done.
Incorrect.
The correct answer is B) Tears down the stack frame: MOV RSP, RBP; POP RBP
B
Correct Answer
Tears down the stack frame: MOV RSP, RBP; POP RBP
Explanation
LEAVE is the function epilogue shorthand equivalent to MOV RSP, RBP followed by POP RBP, restoring the caller's stack frame.
Progress
50/100