RTEMS Logo

RTEMS 4.6.1 On-Line Library


Memory Model Compiler Memory Models

PREV UP NEXT Bookshelf RTEMS TI C3x/C4x Applications Supplement

3.4: Compiler Memory Models

  • Memory Model Small Memory Model
  • Memory Model Large Memory Model
  • The Texas Instruments C3x/C4x processors include a Data Page (dp) register that logically is a base address. The dp register allows the use of shorter offsets in instructions. Up to 64K words may be addressed using offsets from the dp register. In order to address words not addressable based on the current value of dp, the register must be loaded with a different value.

    The dp register is managed automatically by the high-level language compilers. The various compilers for this processor family support two memory models that manage the dp register in very different manners. The large and small memory models are discussed in the following sections.

    NOTE: The C3x/C4x port of RTEMS has been written so that it should support either memory model. However, it has only been tested using the large memory model.


    PREV UP NEXT Bookshelf RTEMS TI C3x/C4x Applications Supplement

    Copyright © 1988-2004 OAR Corporation