1 #include "gpsim_assert.h"
3 unsigned char failures=0;
6 unsigned int uint0 = 0;
7 unsigned int uint1 = 0;
8 unsigned char uchar0 = 0;
9 unsigned char uchar1 = 0;
10 unsigned long ulong0 = 0;
15 ASSERT(MANGLE(failures) == 0);
20 void and_lit2uchar(void)
42 void and_lit2uint(void)
84 void and_lit2ulong(void)
87 if(ulong0 != 0xffffffff)
92 if(ulong0 != 0x7fffffff)
97 if(ulong0 != 0x7f00ffff)
100 ulong0 &= 0xfeff00ff;
102 if(ulong0 != 0x7e0000ff)
107 void and_uchar2uchar(void)
117 uchar0 = uchar1 & 0xfe;