• complement of Int
    is there any function that will complement the variable. e.g int i = 0xAA complement of i = 0x55
  • Int to ASCII
    I have a uint32_t variable. I want to print its ASCII equivalent value. can anyone help me here.
  • Enums and Ints
    Bug, or just weird subtlety of ANSI C when it comes to enums and ints? typedef enum { es16_1, es16_2, es16_3, es16_Force16 = 0x7fff } EnumS16; typedef enum { eu16_1, eu16_2, eu16_3, eu16_Force16...
  • What's the different (xdata int) and (int xdata)
    Dear All: Could any one tell me What's the different between (xdata int p) and (int xdata p)? Thanks
  • Using unsigned with signed int
    I have a signed integer which I have to assign to an unsigned one after addition with unsigned one. Like int16_t x = -9; uint16_t y = 11; if(x < y) { y = y+x; } How to ensure that...