What is Callee-saved register?

A register guaranteed to keep its value across a call; if the called function uses it, the function saves and restores it. In RISC-V these are s0-s11.

Field: ISA & Assembly

Related terms

Addressing mode Application binary interface (ABI) Assembler Branch delay slot Caller-saved register Calling convention Compressed instruction Condition code Frame pointer Immediate operand

Back to the glossary