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

Compute the real power and inductive load, Q. A 60-Hz, 440-V, three-phase s...

Q. A 60-Hz, 440-V, three-phase system feeds two balanced wye-connected loads in parallel. One load has a per-phase impedance of 8 + j3  and the other 4 - j1 . Compute the real po

Pneumatics, 3. Design and draw a circuit using the cascade system to operat...

3. Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinde

Assigment, what is p-n junction and how its work

what is p-n junction and how its work

Types of classification and coding systems, Illustrate the types of classif...

Illustrate the types of classification and coding systems? Briefly explain Production Flow Analysis? Discuss the basic concept of Composite part and different kinds of cell desi

Interrupt signals - pins and signals , Interrupt Signals There are five...

Interrupt Signals There are five  interrupt  signals in 8085 microprocessor.  These  signals  are used to inter rut the  current  program  under  execution and  transfer the ex

Explain the effect of feedback on amplifier bandwidth, Q. Explain the effec...

Q. Explain the effect of feedback on amplifier bandwidth? The bandwidth of an amplifier is defined as the range of frequencies for which the gain remains constant.The gain -ban

SUPERPOSITION THEOREM, CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

Potentiometers , Which potentiometer do I need to control; 6v 2amps dc?

Which potentiometer do I need to control; 6v 2amps dc?

What do you mean by byte, Q. What do you mean by Byte? Without question...

Q. What do you mean by Byte? Without question, the most vital data structure used by the 80x86 microprocessor is the byte this is true since the ASCII code is a 7-bit non-weigh

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