• Operations using 16 bits for 8 bits variables
    Fellows, in the code below: unsigned char test1, test2, test3, dummy; if (test1 != (test2 + 1)) dummy = 0; if (test1 != (unsigned char)(test2 + 1)) dummy = 0; if (test1 != (test2 + test3...
  • Operations using 16 bits for 8 bits variables
    Fellows, in the code below: unsigned char test1, test2, test3, dummy; if (test1 != (test2 + 1)) dummy = 0; if (test1 != (unsigned char)(test2 + 1)) dummy = 0; if (test1 != (test2 + test3...
  • Operations using 16 bits for 8 bits variables
    Fellows, in the code below: unsigned char test1, test2, test3, dummy; if (test1 != (test2 + 1)) dummy = 0; if (test1 != (unsigned char)(test2 + 1)) dummy = 0; if (test1 != (test2 + test3...
  • Operations using 16 bits for 8 bits variables
    Fellows, in the code below: unsigned char test1, test2, test3, dummy; if (test1 != (test2 + 1)) dummy = 0; if (test1 != (unsigned char)(test2 + 1)) dummy = 0; if (test1 != (test2 + test3...
  • Bit Operator
    Hi , A "bit" of a fundamental query. Suppose I declare two bit variables bit MyBit1,MyBit2; I need to do something if both bits are 1. Are these two methods equivalent: if(MyBit1...