RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Calling Conventions Register Usage

PREV UP NEXT Bookshelf RTEMS PowerPC Applications Supplement

2.5: Register Usage

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.


PREV UP NEXT Bookshelf RTEMS PowerPC Applications Supplement

Copyright © 1988-2004 OAR Corporation