• 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...
  • testing
    I am using a graphical LCD for which it is interfaced with the microcontroller AT89C51 Now we do not know whether the external RAM and eeprom of that mcu has the code.. how do we check that the...
  • 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...
  • Bit addressable variable?
    Hi all, I'd like to ask, if there is a method to have a bit addressable variable. Because I can't define an array of bits, can I? I'm using AT89C51CC03, and uVision2.
  • 32 bit variables with interrupt
    we must assume that we define a variable as the long (32bit). and so what happens on it's value when this variable is changed in main loop and exactly at this time an intrrupt occurs! can this variable...