Stack Frame
RISC-V stack frames follow the psABI: sp is 16-byte aligned at procedure entry and remains aligned during execution, prologue/epilogue code typically allocates and frees stack space, saves ra and callee-saved registers when needed, and may use s0/fp to form an optional frame-pointer chain.
Core Concepts
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Find related instructions, registers, CSRs, or pseudo-instructions.
Related Entries
Official References
RISC-V behavior on this topic should be checked against the official specifications; content additions should only use facts verifiable in these documents.