Calling Convention
The standard RISC-V psABI calling convention covers caller/callee-saved integer registers, a0-a7 argument registers with a0-a1 also used for returns, the optional s0/fp frame-pointer chain, 16-byte stack alignment at entry and throughout execution, and hardware floating-point ABI argument and return rules. ILP32E is an exception: it uses a0-a5 and requires only 4-byte stack alignment.
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.