--- xmil/common.h 2004/08/03 12:50:53 1.3 +++ xmil/common.h 2004/08/08 14:00:56 1.5 @@ -49,6 +49,12 @@ enum { #define REG16 UINT16 #endif +#ifndef LOW8 +#define LOW8(a) ((UINT8)(a)) +#endif +#ifndef LOW10 +#define LOW10(a) ((a) & 0x03ff) +#endif #ifndef LOW11 #define LOW11(a) ((a) & 0x07ff) #endif