• Bit variables
    I want to define a 8 BIT variable and char variable that occoupy the same memory loaction in the memory. so any change in the char variable should reflect the bit variable. In C we can define a structure...
  • bit-type variable
    Good moorning, i would like question you if you know some library or configuration, to use in uVision with the Cortex M family, bit-type variable instance of having a minimal byte unit. My object...
  • and again the question of variables
    There is an SRC variable of 16 bits, how to create two 8-bit variables, so that one is addressed to the upper part and the second to the lower part of the SRC variable? type construction uint16_t...
  • 64 bit math novice question
    Hello, I am new and I would highly appreciate help for a 64 Bit math question: signed long long Off = 0; signed long long u = 0; unsigned int psensor_c2 = 0; unsigned int psensor_c4 = 0; signed...
  • BUG with bits in integer variable
    There is a BUG in the compilation of a bit definition: unsigned int bdata my_int; sbit bit15 = my_int ^ 15; sbit bit7 = my_int ^ 7; void main() { my_int = 0x8000; if(bit15) { // Here we shall...