
#ifdef SDCC
    #define LITTLE_ENDIAN
#endif

typedef signed char		Int8;
typedef unsigned char		UInt8;
typedef signed short		Int16;
typedef unsigned short		UInt16;

typedef union { 
    Int16 d;
    Int8  b[2];
} U16;

typedef union { 
    UInt16 d;
    UInt8  b[2];
} UU16;

#ifdef LITTLE_ENDIAN
    #define U16_LSB 0
    #define U16_MSB 1
#endif

