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

Develop an electric equivalent network, Q. For the mechanical spring-mass-f...

Q. For the mechanical spring-mass-friction system shown in Figure, the differential equation relating the force F(t) and the velocity u(t) is given by  where M is themass,D

Superposition Theorem, Help using superpositions find voltage across all re...

Help using superpositions find voltage across all resistor

Benefits of digital systems, Q. Show Benefits of digital systems? Ever ...

Q. Show Benefits of digital systems? Ever since most digital systems have only two possible states, there is high degree of accuracy in the transmission of data. With an analog

Write short note on common vs associated channel signalling, Q. Write short...

Q. Write short note on Common vs. associated channel signalling. Associated vs. Common channel signalling: Out band signalling suffers from very limited bandwidth. Both a

Describe the methods of improving commutation., There are two practical way...

There are two practical ways of improving commutation i.e. of making current reversal in the short - circuited coil as sparkless as possible. These methods are known as (i) resista

Motor, 2. A 6 pole lap-wound armature having 720 conductors, rotates in a f...

2. A 6 pole lap-wound armature having 720 conductors, rotates in a field of 20.35 mWb. (a) If the induced current is 72 A, what is the torque developed by armature? (b) If the indu

What are the flags used in 8086, In 8086 Carry flag, Parity flag, Auxiliar...

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Direction flag Interrupt flag and Sign flag.   Mainly there ae two types of int

Dc machince, what ''s part of dcmotor or dc generator

what ''s part of dcmotor or dc generator

Explain the johnson counters, Explain the Johnson Counters? The Johnson...

Explain the Johnson Counters? The Johnson counters are a variation of standard ring counters with the inverted output of the last stage fed back to the input of the first stage

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