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

What do you mean by star topology, Q. What do you mean by Star Topology? ...

Q. What do you mean by Star Topology? Star Topology: In Star topology, all user nodes are connected to central node point that interconnects all individual users' links and nod

Power diode - power semiconductor devices , Power Diode A power diode i...

Power Diode A power diode is a two terminal, anode a and cathode K and  two layer P  and  N  junction devices. A PN  junction normally  formed  by allowing  diffusion and epita

Difference between photography & holography, 1.       In ordinary photograp...

1.       In ordinary photography, each part contains information of the original object separately and in case some part of the object is destroyed then the information of that par

Advantages and disadvantages of direct coupled coupling, Q. Mention the adv...

Q. Mention the advantages and disadvantages of direct coupled coupling?       Advantages:             1.Simple circuit due to minimum use of resistor             2.Low

Op amps, calculating different op amps

calculating different op amps

Forth generation, Forth Generation VLSI  technology  of IC made it poss...

Forth Generation VLSI  technology  of IC made it possible  to design the  complete  circuit  of ALU  Arithmetic  logic unit and cu ( Control Unit ) within  single  chip  which

Collector-to-base bias, Collector-to-base bias: Figure: Collec...

Collector-to-base bias: Figure: Collector-to-base bias This configuration uses negative feedback to avoid thermal runaway and stabilize the operating point. In th

Basic electromagnetic principles, It has been known for a thousand years or...

It has been known for a thousand years or more (originating in China) that certain (magnetic) materials would always orientate    themselves in a  particular direction if suspended

What do you eman by digital circuits, Q. What do you eman by Digital Circui...

Q. What do you eman by Digital Circuits? The use of nonlinear devices (BJT and FET) in constructing linear amplifiers. Although these devices are inherently nonlinear, their op

Describe the functionalities and the purpose of an equalizer, Question: ...

Question: (a) For a CD quality sound, what is the bit depth used and give the amplitude's levels and the dynamic range of this sound quality (b) In audio technology, the dec

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