|
|
| version 1.7, 2004/08/15 12:32:11 | version 1.9, 2008/06/02 20:07:30 |
|---|---|
| Line 28 enum { | Line 28 enum { |
| #endif | #endif |
| #ifndef STOREINTELDWORD | #ifndef STOREINTELDWORD |
| #define STOREINTELDWORD(a, b) *((a)+0) = (BYTE)((b)); \ | #define STOREINTELDWORD(a, b) *((a)+0) = (UINT8)((b)); \ |
| *((a)+1) = (BYTE)((b)>>8); \ | *((a)+1) = (UINT8)((b)>>8); \ |
| *((a)+2) = (BYTE)((b)>>16); \ | *((a)+2) = (UINT8)((b)>>16); \ |
| *((a)+3) = (BYTE)((b)>>24) | *((a)+3) = (UINT8)((b)>>24) |
| #endif | #endif |
| #ifndef STOREINTELWORD | #ifndef STOREINTELWORD |
| #define STOREINTELWORD(a, b) *((a)+0) = (BYTE)((b)); \ | #define STOREINTELWORD(a, b) *((a)+0) = (UINT8)((b)); \ |
| *((a)+1) = (BYTE)((b)>>8) | *((a)+1) = (UINT8)((b)>>8) |
| #endif | #endif |
| #ifndef NELEMENTS | #ifndef NELEMENTS |
| Line 44 enum { | Line 44 enum { |
| #endif | #endif |
| // ---- Optimize Macros | /* Optimize Macros */ |
| #ifndef REG8 | #ifndef REG8 |
| #define REG8 UINT8 | #define REG8 UINT8 |