volatile unsigned char a; a = 3; printf("%u\n", a * 100);
The output is 11264. Why?
Any reply would be greatly appreciated.
If C51 doesn't do integer promotion and sends int-size values to printf() even with integer promotion on, then I would recommend you to send a message to Keil support.