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

Transistor, can you differentiate the alpha,beta and gamma

can you differentiate the alpha,beta and gamma

Digital Signal Processing, 1. Write a MATLAB program to generate and plot t...

1. Write a MATLAB program to generate and plot the signal x1(n) = [3 2 -2 0 7], n = 0,1,2,3,4.

Explain temperature dependency in semiconductors, Explain temperature depen...

Explain temperature dependence of electrical resistivity and conductivity in semiconductors. The electrical conductivity of the semiconductors changes considerably with temper

Perfect gases avogadro''s hypothesis, Equal volumes of all gases contain th...

Equal volumes of all gases contain the samenumber of molecules when the volumes are measured at the same p and T. Therefore for a given volume at the same p and T, with the same

Determine the study of robotics, Determine the study of Robotics Robots...

Determine the study of Robotics Robots can comprise embedded processors or be linked to a computer system. They are pre-programmed to do a specific task or taught' to remember

Circuit with inductive load, Circuit with inductive load  Electromagnet...

Circuit with inductive load  Electromagnetic induction When a conductor is moved across a magnetic field so as to cut by the lines of force (or flux, an electromotive force

Explain working of voltmeter, Q. Explain working of Voltmeter? In order...

Q. Explain working of Voltmeter? In order tomeasure the potential difference between two terminals or nodes of a circuit, a voltmeter is connected across these two points. A pr

Sui subtract immediate i instructions , SUI  Subtract Immediate I Instruct...

SUI  Subtract Immediate I Instructions The 8 bit  data  specified  in the  instruction  is directly  subtracted  from the  contents of  accumulator  and results  of operation

Explain shunt-field control process, Q. Explain Shunt-field control process...

Q. Explain Shunt-field control process? Shunt-field control, armature-resistance control offers a constant-torque drive because both flux and, to a first approximation, allowab

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