• Sizeof operator gives wrong output with printf for some data types
    Hi! I am using sizeof operator in my c code. I have been through the thread "C51: INCORRECT OPERATION OF PRINTF AND SIZEOF".I tried the same.But it shows size of 'short int' as well as 'int' as 2...
  • Sizeof operator gives wrong output with printf for some data types
    Hi! I am using sizeof operator in my c code. I have been through the thread "C51: INCORRECT OPERATION OF PRINTF AND SIZEOF".I tried the same.But it shows size of 'short int' as well as 'int' as 2...
  • HEX output has wrong addresses
    I'm trying to combine my bootloader and application projects made in Keil uVision5 into one single hex or binary file. I have used the bootloader to upload a binary of the application and it works. I...
  • HEX output has wrong addresses
    I'm trying to combine my bootloader and application projects made in Keil uVision5 into one single hex or binary file. I have used the bootloader to upload a binary of the application and it works. I...
  • printf outputs wrong result when do multiplication
    volatile unsigned char a; a = 3; printf("%u\n", a * 100); The output is 11264. Why? Any reply would be greatly appreciated.