#include <stdlib.h>
#include <stdio.h>
#include <string.h>

//definition of CPU
//CPU_INTEL:Little endian (default)
//CPU_SUN:Big endian
#ifndef CPU_SUN
#define CPU_INTEL
#endif

//type definition
/*
typedef char BYTE;
typedef int bool;
typedef short WORD;
typedef long INT;
typedef double DOUBLE;
*/

typedef unsigned char BYTE;
typedef int bool;
typedef unsigned short WORD;
typedef long INT;
typedef double DOUBLE;

#define true 1;
#define false 0;

