RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Texas Instruments C3x/C4x Specific Information Processor Background

PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

9.2.1: Processor Background

The TI C3x and C4x processors support a simple yet effective call and return mechanism. A subroutine is invoked via the branch to subroutine (XXX) or the jump to subroutine (XXX) instructions. These instructions push the return address on the current stack. The return from subroutine (XXX) instruction pops the return address off the current stack and transfers control to that instruction. It is important to note that the call and return mechanism for the C3x/C4x does not automatically save or restore any registers. It is the responsibility of the high-level language compiler to define the register preservation and usage convention.

XXX other supplements may have "is is".


PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

Copyright © 1988-2004 OAR Corporation