Beginner Assembly Language
Q22 / 100

What is the base pointer (BP/RBP) used for?

Correct! Well done.

Incorrect.

The correct answer is B) Serving as a stable reference point for the current stack frame, used to access local variables and parameters

B

Correct Answer

Serving as a stable reference point for the current stack frame, used to access local variables and parameters

Explanation

RBP points to the saved frame base. Local variables are at [RBP-n]; function parameters are at [RBP+n]. Created by the function prologue.

Progress
22/100