anybody please give me the meaning of the following operator: &= |= ^= sorry for this stupid question, 'cause i'm just a newbie and i couldnt find any discription about them in uVision Helper. Tks
Bitwise Logical Operators & = bitwise AND | = bitwise OR ^ = bitwise XOR Ex. x = 0x07; MASK = 0x08; x = x | MASK; EQU x |= MASK; Now x = 0x0f;
You need to read a book on 'C'. a&=b; is equivalent to: a=a&b; Same with the others.
tks, anybody have a book teach C for 8051 free version please tell me !! Tks
Your questions are about standard 'C' - the Keil manuals describe their extensions to the standard. What you need is a book on standard 'C'.