Question: Assume that variable char ax = 0x9D. NOTE that ax is assigned a 2-digit HEX value that corresponds to an 8-bit quantity. As such,
Assume that variable char ax = 0x9D. NOTE that ax is assigned a 2-digit HEX value that corresponds to an 8-bit quantity. As such, all specified operations will be performed based upon 8-bit operands and an 8-bit datapath. (a) Find the value of the variable char bx = ax < < 4. (5 points) SOLUTION: (b) Find the value of the variable char bx = ax & 0xEF. (5 points) SOLUTION: (c) Find the value of the variable char bx = ax | 0xDE. (5 points) SOLUTION: (d) Find the value of the variable char bx = ax ^32. (5 points) SOLUTION:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
