
a)
Subtracting signed binary numbers:
To subtract two binary signed numbers, two’s complement arithmetic method should be used. So, negative numbers are represented in two’s complement form, after that add two numbers including their sign bit. If there is any carry bit, discard the bit and take the remaining bit which gives the final result.
Some predefined rules should be followed when performing binary addition. The rules are given as follows:
b)
Explanation of Solution
Subtracting signed binary numbers 00110101 and (-00001011):
Consider the two binary numbers. The two’s complement should be taken for signed numbers in order to perform the signed binary subtraction.
One’s complement of
Two’s complement:
c)
Explanation of Solution
Subtracting signed binary numbers 01101111 and (-00010001):
Consider the two binary numbers. The two’s complement should be taken for signed numbers in order to perform the signed binary subtraction.
One’s complement of
Two’s complement:

Want to see the full answer?
Check out a sample textbook solution
Chapter 2 Solutions
The Essentials of Computer Organization and Architecture
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





