• array index type of signed int
    Hi list, i'm working with c51v750a. My problem: int array[ 0] _at_ 0x7600; //xdata unsigned char index = 0; //xdata printf("%d", &array[ index]); printf("%d", &array[(unsigned char)(index - 1)...
  • array index type of signed int
    Hi list, i'm working with c51v750a. My problem: int array[ 0] _at_ 0x7600; //xdata unsigned char index = 0; //xdata printf("%d", &array[ index]); printf("%d", &array[(unsigned char)(index - 1)...
  • C array index, signed or unsigned
    Firstly, according to the C standard, is the C array index variable interpreted as a signed or unsigned integer? Secondly, what does Keil do?
  • C array index, signed or unsigned
    Firstly, according to the C standard, is the C array index variable interpreted as a signed or unsigned integer? Secondly, what does Keil do?
  • 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...