Main Page   Compound List   File List   Header Files   File Members  

asm/types.h

This is the verbatim text of the asm/types.h include file.
#ifndef ASM_TYPES_INCLUDE
#define ASM_TYPES_INCLUDE

#if SDCC_PORT == gbz80
#include <asm/gbz80/types.h>
#elif SDCC_PORT == z80
#include <asm/z80/types.h>
#else
#error Unrecognised port
#endif

typedef INT8            BOOLEAN;

#if BYTE_IS_UNSIGNED

typedef UINT8           BYTE;
typedef UINT16          WORD;
typedef UINT32          DWORD;

#else

typedef INT8            BYTE;
typedef UINT8           UBYTE;
typedef INT16           WORD;
typedef UINT16          UWORD;
typedef INT32           LWORD;
typedef UINT32          ULWORD;
typedef INT32           DWORD;
typedef UINT32          UDWORD;

typedef union _fixed {
  struct {
    UBYTE l;
    UBYTE h;
  } b;
  UWORD w;
} fixed;

#endif

#endif

Generated at Sun May 7 12:17:01 2000 for gbdk-lib by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999