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

Storage oscilloscopes, Q.  Write short note on storage oscilloscopes. ...

Q.  Write short note on storage oscilloscopes. Sol. Storage Oscilloscope: The bistable storage tube is between two to ten times slower than a comparable variable persistence

Lda load accumulator direct instruction, LDA  Load Accumulator Direct Inst...

LDA  Load Accumulator Direct Instruction This instruction is used to copy  data from  memory whose  address is directly specified in the  instruction to th e accumulator. The i

What do you understand by progressive control, Q. What do you understand by...

Q. What do you understand by progressive control? Progressive Control: Step by step system is an example of progressive control. The connection is set up in stages, in response

Oscillator circuit with the help of block diagram, Q. Explain the condition...

Q. Explain the conditions to be satisfied for sustained oscillations in an oscillator circuit with the help of block diagram. The essential condition for sustained oscillations

What is the importance of rs232-c in serial communication, What is the impo...

What is the importance of RS232-C in serial communication? RS-232 that is Recommend Standard number 232 and C is the new revision of the standard. The serial ports on main comp

Frequency response of a r-c coupled amplifier, Q. Write a short note on the...

Q. Write a short note on the frequency response of a R-C coupled amplifier. At low frequencies ( , the reactance of coupling capacitor Cc is quite high and hence very small pa

Status signals - pins and signals , Status Signals There are three st...

Status Signals There are three status  signals IO/M s and s 1 . All  these  signals  are output  signals. IO/ M - it is a status  signals  used to distinguish  whether  the

Measurment, emitter followers regulator

emitter followers regulator

Common-collector amplifier, A common-collector (CC) amplifier is also known...

A common-collector (CC) amplifier is also known as an emitter follower (or a voltage follower) due to the fact that the output voltage "follows" the input by being approximately eq

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