RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Texas Instruments C3x/C4x Specific Information Compiler Memory Models

PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

9.3.3: Compiler Memory Models

  • Texas Instruments C3x/C4x Specific Information Small Memory Model
  • Texas Instruments C3x/C4x Specific Information 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 CPU Architecture Supplement

    Copyright © 1988-2004 OAR Corporation