Exercise 2: Assume that variable char ax = 0x9D. NOTE that ax is assigned a 2-digit HEX value that corresponds to an 8-b
Posted: Sat Feb 19, 2022 3:23 pm
Exercise 2: 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 & OxEF. (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: