RTEMS TI C3x/C4x Applications Supplement
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.
RTEMS TI C3x/C4x Applications Supplement
Copyright © 1988-2004 OAR Corporation