--- np2/wince/w32/compiler.h 2003/11/21 07:43:52 1.4 +++ np2/wince/w32/compiler.h 2003/11/29 00:36:00 1.5 @@ -18,6 +18,16 @@ typedef unsigned int UINT32; #define RGB16 UINT32 #endif +// for RISC test +#define REG8 UINT +#define REG16 UINT +#define REG32 UINT +#define LOW12(a) ((((UINT)(a)) << 20) >> 20) +#define LOW14(a) ((((UINT)(a)) << 18) >> 18) +#define LOW15(a) ((((UINT)(a)) << 17) >> 17) +#define LOW16(a) ((UINT16)(a)) +#define HIGH16(a) (((UINT32)(a)) >> 16) + #include "common.h" #include "milstr.h"