Question: 8. In a hexadecimal 16-bit number, invert bits 0, 2, 6, 7, 8, 9, 12 and 13. Convert the original number to the binary system,

8. In a hexadecimal 16-bit number, invert bits 0, 2, 6, 7, 8, 9, 12 and 13. Convert the original number to the binary system, come up with a suitable mask (binary and hexadecimal) and perform a logical operation. Convert the result back to the hexadecimal system. OXCDEF = Binary Op: Binary Mask: = Ox Binary = Ox 10. Specify a logical operation and come up with a mask that for any 16-bit number will reset the 9 most significant bits to zero. Write the mask in binary and hexadecimal systems. Op: Binary Mask: = Ox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
