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

Electrical distribution system, 1. Name the three parts of a programmable l...

1. Name the three parts of a programmable logic controller (PLC) and explain why the PLC is preferred by designers over electromechanical relays. 2. Medium-voltage circuit break

A battery consists of five cells in series, A battery having of five cells ...

A battery having of five cells in series. Each cell is 2.5V and internal resistance is 0.05 Ω. A battery is linked to the load resistance of 15Ω. Verify: i.  Total e.m.f

Thermal –root , A moving coil galvanometer consists of a coil  in a uniform...

A moving coil galvanometer consists of a coil  in a uniform magnetic field B o, suspended fro a fibre of torque constant C, current I produces a deflection O=nAB o i/c where n is

Line Protection., The Lennox to Bowmanville 500 kV circuit, spanning a dist...

The Lennox to Bowmanville 500 kV circuit, spanning a distance of about 180 km, has series (inductive) impedance j 0.0224 pu and shunt (capacitive) admittance j 2.34 pu, quoted on b

How speech is transmitted in digital switching environment, Q. How speech i...

Q. How speech is transmitted in digital switching environment by using PCM/TDM? Ans: A digital carrier system is a communications system which uses digital pulses instead of

Quartus, I have a project due tomorrow, i have exhuasted all my resources, ...

I have a project due tomorrow, i have exhuasted all my resources, and cannot understand how to do the project, it is VHDL coding in Quartus program, i can send the assignment if yo

Passive filters, Passive filters: Passive implementations of linear fi...

Passive filters: Passive implementations of linear filters are based upon combinations of inductors (L), resistors (R), and capacitors (C). These sorts are collectively termed

Determine the circuit of three transistors dynamic ram cell, a. Determine t...

a. Determine the circuit of three transistors dynamic RAM cell and define briefly read and write functions. b. Write short note on factors influencing choice of layer for wiring

What do you mean by dial pulses, Q. What do you mean by Dial Pulses? D...

Q. What do you mean by Dial Pulses? Dial Pulses: Dial pulsing (many times known as rotary dial pulsing) is the method originally used to transfer digits from a telephone set

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