You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Question<br />
• What is the value of variable x after the following code executes?<br />
unsigned char data x;<br />
x = 21;<br />
x &= 0xF0;<br />
x |= 0x03;<br />
• Write C code to set the upper 4 bits of a char to “1100”.<br />
Embedded Systems 2 2 - 16 C Programming