RTEMS Logo

RTEMS 4.6.6 On-Line Library


Miscellaneous Specifying Processor Endianness

PREV UP NEXT Bookshelf RTEMS Porting Guide

10.2.1: Specifying Processor Endianness

The CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN are set to specify the endian format used by this microprocessor. These macros should not be set to the same value. The following example illustrates how these macros should be set on a processor family that is big endian.

#define CPU_BIG_ENDIAN                           TRUE
#define CPU_LITTLE_ENDIAN                        FALSE


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2004 OAR Corporation