• 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 operations
    I need to shift data into serail input register bit-by-bit. It would be nice, if the compiler would support asm blocks in a C program. 1. Shifting a byte is done by rotatig accumulator left, whereby...