Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion
Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 58)
58.
Binary subtraction of a decimal 15 from 43 will utilize which two's complement?
Discussion:
4 comments Page 1 of 1.
Subrata said:
8 years ago
Answer is C ie 011100.
Sadham said:
8 years ago
Minu end = 43 =101011.
Subtrahend = 15 = 001111.
For Subtrahend, 2's complement to be done = 001111 ==> 110001.
Subtrahend = 15 = 001111.
For Subtrahend, 2's complement to be done = 001111 ==> 110001.
Dheemanth said:
9 years ago
For 15 to be subtracted from 43, 15 need to be converted into 2's complement. Binary equal of 15 is 001111 as to represent 43 we require 6 bits now make the converted binary 's msb to 1.
So to indicate it is -15. Now complement the last 5 bits it will result in 10000 now to get 2's complement add 1 to lsb so it will become 10001 now with msb it will be 110001.
So to indicate it is -15. Now complement the last 5 bits it will result in 10000 now to get 2's complement add 1 to lsb so it will become 10001 now with msb it will be 110001.
Jbabu said:
9 years ago
Can anyone explain me?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers