What is Caller-saved register?

A register the called function may overwrite freely; if the caller needs its value after the call, the caller saves it. In RISC-V these include t0-t6 and a0-a7.

Field: ISA & Assembly

Related terms

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

Back to the glossary