Question: Easy and Quick question Q#7 (3 marks): Assume 6-bits are being used for representing integer numbers. Perform the subtraction with the following unsigned binary numbers

 Easy and Quick question Q#7 (3 marks): Assume 6-bits are being Easy and Quick question

Q#7 (3 marks): Assume 6-bits are being used for representing integer numbers. Perform the subtraction with the following unsigned binary numbers by taking the 2's complement of the subtrahend. For each subtraction operation, indicate if the operation would generate an overflow. a. 011010 - 010000 b. 000010 - 011000 c. 100001 - 001010 Solution: a. 2's comp of 010000 = 110000 b. 2's comp of 011000 = 101000 c. 2's comp of 001010 = 110110 (1 mark): Represent decimal 3984 in the 2421 code. Show that complementing all bits of the coded number produces the 9's complement of 3984 in the 2421 code. Note: The decimal number 9 is represented in 2421 code as 1111 Solution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!