Question: 2. [7 points] Perform the following calculation in a 6-bit two's complement system. Indicate at the end if there will be overflow/underflow or not and
2. [7 points] Perform the following calculation in a 6-bit two's complement system. Indicate at the end if there will be overflow/underflow or not and why. -15 (base-10) - 7 (base-10) a. First determine the range of the system. Show work. Range of 6 bit 2's complimemt would be 245 so small possible iteger -32 and largest +31 b. Convert -15 (base-10) to binary. Show work. -15 = 01111 Base c. Convert-7 (base-10) to binary. Show work. -1 0111 d. Perform the calculation -15 (base-10) - 7 (base-10) in binary. Show work. 01111+0111 = e. Indicate overflow/underflow or not and why. No overflow /underflow because carries are ssame
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
