Go to the source code of this file.
Defines | |
| #define | LANGUAGE C |
| #define | ASM 0 |
| #define | C 1 |
| #define | MAX_BITS_ABS_VAL 1024 |
| #define | BITS_ABS(a) (((((a) + MAX_BITS_ABS_VAL) / MAX_BITS_ABS_VAL) * 2 - 1) * (a)) |
| #define | BITS_MIN(a, b) (((a) + (b) - BITS_ABS((a) - (b))) / 2) |
| #define | bit(b) (1 << (b)) |
| #define | bits(b1, b2) (((2 << BITS_ABS((b1) - (b2))) - 1) << BITS_MIN(b1,b2)) |
| #define | bits_val(b1, b2, v) (((v) << BITS_MIN(b1,b2)) & bits(b1,b2)) |
| #define | bits_get(b1, b2, v) (((v) & bits(b1,b2)) >> BITS_MIN(b1,b2)) |
| #define ASM 0 |
Definition at line 47 of file openwince.h.
| #define bit | ( | b | ) | (1 << (b)) |
Definition at line 58 of file openwince.h.
| #define bits | ( | b1, | |||
| b2 | ) | (((2 << BITS_ABS((b1) - (b2))) - 1) << BITS_MIN(b1,b2)) |
Definition at line 59 of file openwince.h.
| #define BITS_ABS | ( | a | ) | (((((a) + MAX_BITS_ABS_VAL) / MAX_BITS_ABS_VAL) * 2 - 1) * (a)) |
Definition at line 55 of file openwince.h.
| #define bits_get | ( | b1, | |||
| b2, | |||||
| v | ) | (((v) & bits(b1,b2)) >> BITS_MIN(b1,b2)) |
Definition at line 61 of file openwince.h.
| #define BITS_MIN | ( | a, | |||
| b | ) | (((a) + (b) - BITS_ABS((a) - (b))) / 2) |
Definition at line 56 of file openwince.h.
| #define bits_val | ( | b1, | |||
| b2, | |||||
| v | ) | (((v) << BITS_MIN(b1,b2)) & bits(b1,b2)) |
Definition at line 60 of file openwince.h.
| #define C 1 |
Definition at line 51 of file openwince.h.
| #define LANGUAGE C |
Definition at line 42 of file openwince.h.
| #define MAX_BITS_ABS_VAL 1024 |
Definition at line 54 of file openwince.h.
1.4.7