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

VLSI, In my designed analog circuit,efficiency is measured at steady state ...

In my designed analog circuit,efficiency is measured at steady state or transient state of my output node? Efficiency of MOSFET circuit given in datasheets of any product is measur

Determine the force applied to the plunger by system, Q. For the electromag...

Q. For the electromagnet shown in Figure, the λ-i relationship for the normalworking range is given by i = aλ 2 + bλ(x -d) 2 ,where a and b are constants. Determine the force app

Jump instruction - branch operations , Jump Instruction There are two ...

Jump Instruction There are two types of jump  instruction unconditional jump conditional jumps

Draw and explain an rc integrator, Q. Draw and explain an RC integrator .De...

Q. Draw and explain an RC integrator .Derive the relation between input  and output voltage. Solution: A circuit in which the output voltage is directly proportional  to the

Determine the power flow diagram for a dc generator, a. Determine the power...

a. Determine the power flow diagram for a DC generator. b. A shunt wound DC generator delivers 496 A at 440 V to a load. The resistance of  the shunt field coil is 110? and that

1-phase full bridge inverter will rl load , 1- Phase Full  Bridge  inver...

1- Phase Full  Bridge  inverter will RL Load For a  resistive load R the load  current  wave form  will be  identical with load  voltage wave form  and feedback  diodes will

Explain the term- electronic mail, Explain the term- Electronic Mail (email...

Explain the term- Electronic Mail (email) Another form of communication is through email. This has the below advantages over video conferencing: -  There are no language pro

Show limitations of microprocessor-based control systems, Q. Show limitatio...

Q. Show limitations of microprocessor-based control systems? Practical limitations of microprocessor-based control systems stem from the following considerations: • Finite-w

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