- Exercise 2 Assume That Variable Char Ax 0x9d Note That Ax Is Assigned A 2 Digit Hex Value That Corresponds To An 8 B 1 (32 KiB) Viewed 30 times
Exercise 2: Assume that variable char ax = 0x9D. NOTE that ax is assigned a 2-digit HEX value that corresponds to an 8-b
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Exercise 2: Assume that variable char ax = 0x9D. NOTE that ax is assigned a 2-digit HEX value that corresponds to an 8-b
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: