Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

stack pointer

The register that holds the address of the top of the stack (rsp, sp).

The stack pointer register (rsp on x86-64, sp on ARM64 and RISC-V) holds the address of the current top of the call stack.

Examples

  • On x86-64, push rax subtracts 8 from rsp, then stores rax at the new rsp.

Read the full section →