[問題] 計概題目請教

作者: Jasoney (jason)   2015-04-22 18:06:18
Suppose that you are given an 8-bit data stored in
a variable named x.
Bit 0 is the least significant bit in x while bit 7 is the most
significant bit.
Write a logic expression that applies one or more AND, OR, NOT, or XOR
operator with other operands to invert bits 0, 2, 4, 6 of x
and reset bits 1 and 3 of x to 0.
You may add parentheses if needed.

Links booklink

Contact Us: admin [ a t ] ucptt.com