題組內容

5. Let X be an integer stored in a byte. We want to set (i.e., force to 1) the two leftmost and the
three rightmost bits of X (other bits remain unchanged) by using the statement X = X op Y.

(b) What is value of Y in
hexadecimal format? (10%)