Binary subtraction , Electrical Engineering

Assignment Help:

Binary Subtraction

Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  discuss only 2  compliment method  of subtraction in this book.

To find  2 compliment of any binary  number

Use followings  steps

Find 1 complement  of the given  binary  number convert all 0 to 1 and  all 1 to 0 s.

Add 1  to the obtained d1  complement number to get the 2 complement of the original number.

The  obtained  binary number will  be the  negative  of the given  number.

Example :  Find 2 complement  of 010110112.  ( equal to + 9110)

Solution : 1 complement  of the given number is:    10100100

    Add 1                                                                            1

The 2 complement  form of the number                  101000101

This  will represent  -9110 in microprocessor.


Related Discussions:- Binary subtraction

Merits and demerits of voltage divider bias, Merits and Demerits of Voltage...

Merits and Demerits of Voltage divider bias: Merits: 1. Not like the above circuits, only one dc supply is essential. 2. Operating point is approximately independent o

How transistor will be used as an amplifier, (a) How transistor will be use...

(a) How transistor will be used as an amplifier? (b) Give relation between α and β? (c) Show the biasing arrangement for the PNP transistor in common base configuration, so t

Calculate the current flow through rl, Using star-delta transformation, cal...

Using star-delta transformation, calculate the current flow through RL.

Capacitor filter, Capacitor Filter: A capacitor filter is connect...

Capacitor Filter: A capacitor filter is connected directly across the load is displayed in figure. The property of a capacitor is that it permits ac component and blocks

Digital signal processing, please, how do i design a linear phase stable re...

please, how do i design a linear phase stable recursive digital filter

Differentiate between n and p type semiconductors, Differentiate between n ...

Differentiate between n and p type semiconductors. n - Type semiconductor:- (i) If small amount of pentavalent impurity is added with, to a pure semiconductor giving a la

Electronic Devices, To demonstrate a practical method of testing semiconduc...

To demonstrate a practical method of testing semiconductor diodes.

Convert these numbers to their decimal values, Q. Consider the three BCD nu...

Q. Consider the three BCD numbers listed below. 0001 1000 0101 1000 0010 0001 0011 1000 0100 0011 0101 0101 a) Convert these numbers to their decimal values. b) Conv

Find the initial and final values of the armature current, Q. A 7.5-hp, 250...

Q. A 7.5-hp, 250-V, 1800-r/min shuntmotor, having a full-load line current of 26 A, is started with a four-point starter. The resistance of the armature circuit, including the inte

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd