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 resistance in ideal inverting summing amplifier, Q. In the ideal ...

Q. In the ideal inverting summing amplifier circuit with two inputs, for R f = 10 k, find R 1 and R 2 so that v o = -10v i1 -5 vi2 .

Relative and absolute motion measuring device, a) With the help of a neat a...

a) With the help of a neat and clean sketch illustrate the difference between relative and absolute motion measuring device. b) Discuss electromechanical methods for calculating

Calculate efficiency to load at unity power factor, Q. A 300-kVA transforme...

Q. A 300-kVA transformer has a core loss of 1.5 kW and a full-load copper loss of 4.5 kW. (a) Calculate its efficiency corresponding to 25, 50, 75, 100, and 125% loads at unity

What do you mean by insurance, Q. What do you mean by Insurance? This i...

Q. What do you mean by Insurance? This is done by creating a common fund out of the contribution (known as premium) from several persons who are equally exposed to the same los

Explain working of inverting amplifier, Q. Explain working of Inverting Amp...

Q. Explain working of Inverting Amplifier? One common op-amp circuit is shown in Figure. For the case of finite voltage gain Ao of an op amp that is otherwise ideal, the output

Explain role/purpose of dummy coils in dc machine winding., Dummy coils : ...

Dummy coils : These coils are used with wave winding and resorted to when the requirement of the winding are not met by the standard armature punching available in armature win

Unconditional jump - jump instruction , Unconditional Jump JMP ( Uncon...

Unconditional Jump JMP ( Unconditional Jump ) Instruction: This  instruction is used to transfer  the execution to the  specified  memory  address unconditionally ( does not c

Determine the total active power, Determine the total active power: Ci...

Determine the total active power: Circuit is introduced in the Face 1. It is about a single-wires face for a three-phase system. The voltage of the AC source is of 69kV. The s

Simple zener voltage regulator, Consider a simple zener voltage regulator w...

Consider a simple zener voltage regulator with the circuit diagram shown in Figure (a). (a) For a small reverse resistance R Z S and V S - R S i out > V Z , show that v ou

Show maximum power transfer, Q. Show Maximum Power Transfer? In order t...

Q. Show Maximum Power Transfer? In order to investigate the power transfer between a practical source and a load connected to it, let us consider Figure , in which a constant v

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