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

Solid-state control of synchronous motors, Solid-State Control of Synchrono...

Solid-State Control of Synchronous Motors  The speed of a synchronous motor can be controlled by changing its supply frequency. With variable-frequency control, two modes of op

Explain about adaptive control system, Q. Explain about Adaptive Control Sy...

Q. Explain about Adaptive Control System? Another type of control system that makes use of the computer is known as adaptive control, which is functionally represented in Figur

Explain different routing plan adopted in a network, Q. Explain different R...

Q. Explain different Routing plan adopted in a Telephone network.  Ans: Hierarchical networks are capable of handling heavy traffic where required, and at the same time us

Explain instruction sets of 8085, Explain instruction sets of 8085. a) ...

Explain instruction sets of 8085. a)  Data transfer group - MOV, MVI, LXI. b)  Arithmetic group - ADD, SUB, INR. c)  Branch group - JMP, JNZ, CALL. d)  Logical group -

Clippers, dis advantage of series clippers?

dis advantage of series clippers?

Several forms of interference, Q. Several forms of interference? Interf...

Q. Several forms of interference? Interference may take several forms: ac hum, higher frequency pulses and "whistles," or erratic waveforms commonly known as static. Interferin

Calculate expected peak demand for transformer, What is the expected peak d...

What is the expected peak demand for a transformer feeding the following loads?                           Connected                 kVA

Evaluate the voltage source, Q. For the capacitor shown in Figure connected...

Q. For the capacitor shown in Figure connected to a voltage source, sketch i(t) and w(t).

Pdc, disadvantages of shunt&series clippers

disadvantages of shunt&series clippers

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