Рет қаралды 80,578
In this Digital Electronics video tutorial in Hindi we explained the rules of binary subtraction using 2's complement method having signed binary numbers. Binary subtraction can be done using 1's complement and 2's complement method. The 2's complement of a number is the negative of that number. So by simply adding a number with the 2's complement of another number we can perform binary subtraction. For example 2's complement of 3 is -3. So by adding 7 and the 2's complement of 3 we perform the operation 7 - 3. We discussed two examples in this video. In the second example we subtracted a larger number from a smaller number.
To get 2's complement of a binary number what we have to do is we need to write the digits from the right side and when we get the first significant digit (1), after writing that digit we need to invert all the other digits. e.g., the 2's complement of 10 (this 10 can be written as 1010)
is 0110.
Other related videos:
🔴 NUMBER SYSTEM and FORMAT CONVERSION
• 🔴 NUMBER SYSTEM and FO...
🔴 BINARY ADDITION
• 🔴 BINARY ADDITION || i...