Question: 4. Express (223).o and (-114) in 8-bit binary one's complement form and then add the numbers. What would be the representation (-0). in 16-bit binary
4. Express (223).o and (-114) in 8-bit binary one's complement form and then add the numbers. What would be the representation (-0). in 16-bit binary one's complement? (be sure to show your work). 5. Express (116)10 and (-27). in 8-bit binary two's complement arithmetic and then add the numbers. What would be the representation (0)1 in 16-bit binary two's complement? (be sure to show your work). 6. Create two 16-bit 2's complement integer such that their sum causes an overflow. Why does the sum of a negative 2's complement number and a positive 2's complement number never generate an overflow? Discuss. 7. Suppose a computer uses 4-bit one's complement representation. Ignoring overflows, what value will be stored in the variable j after the following pseudo code routine terminates? (show details of all steps of the execution) 0-3 // store o inj -3 - K // store -3 in while ko jej +1 k = k-1 end while
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
