Stack Frame
The standard RISC-V psABI calling convention requires sp to be 16-byte aligned at procedure entry and throughout execution; ILP32E requires only 4-byte alignment. 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.