Perform the following operations. Express your answer in Hexadecimal notation NOT( NOT(0xf00) OR NOT (0x084) ) 0xcdab + 0x4321
EXPERT ANSWER
To perform the given operations and express the answers in hexadecimal notation, let’s calculate each step:
- NOT(NOT(0xf00) OR NOT(0x084)):
- First, let’s find the negation of each operand:
- NOT(0xf00) = 0x0ff
- NOT(0x084) = 0xf7b
- Now, perform the OR operation between the negations:
- 0x0ff OR 0xf7b = 0xf7f
- Finally, find the negation of the result:
- NOT(0xf7f) = 0x080
Therefore, the result of NOT(NOT(0xf00) OR NOT(0x084)) is 0x080.
- First, let’s find the negation of each operand:
- 0xcdab + 0x4321: Performing the addition:
- 0xcdab + 0x4321 = 0x100cc
Therefore, the result of 0xcdab + 0x4321 is 0x100cc.
The final answers in hexadecimal notation are:
- NOT(NOT(0xf00) OR NOT(0x084)) = 0x080
- 0xcdab + 0x4321 = 0x100cc