RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Calling Conventions Register Usage

PREV UP NEXT Bookshelf RTEMS TI C3x/C4x Applications Supplement

2.4: Register Usage

XXX

As discussed above, the XXX and XXX instructions do not automatically save any registers. Subroutines use the registers D0, D1, A0, and A1 as scratch registers. These registers are not preserved by subroutines therefore, the contents of these registers should not be assumed upon return from any subroutine call including but not limited to an RTEMS directive.

The GNU and Texas Instruments compilers follow the same conventions for register usage.


PREV UP NEXT Bookshelf RTEMS TI C3x/C4x Applications Supplement

Copyright © 1988-2004 OAR Corporation