RTEMS CPU Architecture Supplement
As discussed above, the call instruction does not automatically save any registers. It is the responsibility of the callee to save and restore any registers which must be preserved across subroutine calls. The callee is responsible for saving callee-preserved registers to the program stack and restoring them before returning to the caller.
RTEMS CPU Architecture Supplement
Copyright © 1988-2008 OAR Corporation