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

Determine the number of bits of a natural binary encoder, Determine the num...

Determine the number of bits of a natural binary encoder that works with the quantizer: a) If the extreme levels are ±3.1 V, with a step size of 0.2 V. (b) If there are 128 q

Show demagnetizing effect of armature reaction, Q. A20-hp, 250-Vshuntmotor ...

Q. A20-hp, 250-Vshuntmotor has a total armature - circuit resistance of 0.25  and a field-circuit resistance of 200.At no load and rated voltage, the speed is 1200 r/min, and the

Realize the following boolean expression, Q. Using a minimum number of NAND...

Q. Using a minimum number of NAND gates, realize the following Boolean expression: F(A,B,C) = ∑ mi (0, 3, 4, 5, 7).

Common emitter configuration, Common emitter configuration: even in co...

Common emitter configuration: even in common emitter configuration current relation is like is same like common bias configuration. For common emitter configuration output cha

Practical properties of operational amplifiers, Q. Practical properties of ...

Q. Practical properties of operational amplifiers? To achieve voltage gain and consequently power gain, the op amp must be biased by a dc source. The biasing network is compris

Show frequency response using pspice and probe, Q. Show Frequency response ...

Q. Show Frequency response using pspice and probe? PSpice is capable of performing transient circuit analysis, for which the request is given by the following statement: • T

Explain about stored program control, Q. Explain about Stored Program Contr...

Q. Explain about Stored Program Control? Stored Program Control:   In centralized control, all control equipment is replaced by a single processor which should be quite powerf

Explain types of addressing modes, Problem: a) Explain types of "Addres...

Problem: a) Explain types of "Addressing Modes". b) What is the difference between "Rotate" and "Swap" Operations? c) A computer spends a lot of time in moving data from

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