Calling convention (source code)

= Calling convention

The agreement between a caller and a subroutine on argument and result placement, <processor register> preservation, and <call stack> organization. <Callee-saved registers> retain their incoming values across a call; <caller-saved registers> must be saved by the caller if their values are still needed afterwards.