int main(void) { volatile unsigned char temp; /* declare volatile otherwise the optimizer will remove it. */ temp = 0x35 & 0x0F; /* ANDing : 0x35 & 0x0F = 0x05 */ temp = 0x04 | 0x68; /* ORing : 0x04 | 0x68 = 0x6C */ temp = 0x54 ^ 0x78; /* XORing : 0x54 | 0x78 = 0x2C */ temp = ~0x55; /* Inverting : ~0x55 = 0xAA */ while (1); return 0; } void SystemInit(void) /* required by the compiler */ { }