• Logic Operators
    Hi, I need help understanding these operations DEECON=(unsigned char)((adr>>8)&0x01); is adr being shifted to the right? and then? what is &0x01 ...a pointer? while((DEECON&0x80)==0); Explain...
  • Logic Operators
    Hi, I need help understanding these operations DEECON=(unsigned char)((adr>>8)&0x01); is adr being shifted to the right? and then? what is &0x01 ...a pointer? while((DEECON&0x80)==0); Explain...
  • Logical Operator AND in uVision
    I need to know what is wrong with uVision. I had not seen this before. I wrote this piece of code in uVisio, the program is not working well. When I simulated it, I realized the compiler is not...
  • Logical Operator AND in uVision
    I need to know what is wrong with uVision. I had not seen this before. I wrote this piece of code in uVisio, the program is not working well. When I simulated it, I realized the compiler is not...
  • Bitwise logical AND stores in a bit ....
    Hi, I get a curious result when compiling such a following code : typedef union { unsigned char cCtrlFullByte; struct { unsigned char bEnable : 1; unsigned char cUnused : 7; } cCtrlStruct;...