• keil STM32 and bit operation
    Im from slovakia so please excuse my english im newbie in programic mcu i need to write if clause where i wat to do something if pin is in high level. for example if ((P1^1)==1{ something...
  • 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...
  • 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...
  • Is Keil Compiler have bit operator.?
    Sir, Mdoubt is Like Sillicon Lartories(C8051f020) we can initialize the bit operators. like: bit a; bit b; if(a == 1) { LED = 1; } This type of keyword is there which supports in ARM processor...
  • 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...