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

Explain power-system loads, Q. Explain Power-System Loads? Figure repre...

Q. Explain Power-System Loads? Figure represents a one-line (single-line) diagram of a part of a typical three-phase power system. Notice the symbols that are used for generato

Describe the process control instructions, Describe the process control ins...

Describe the process control instructions STC - It sets the carry flag & does not affect any other flag  CLC - it resets the carry flag to zero &does not affect any other fl

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

Circuit analysis, what is quality factor in term circuit analysis

what is quality factor in term circuit analysis

Thermal considerations, Thermal considerations: At continuous current,...

Thermal considerations: At continuous current, the voltage across the emitter-base junction V BE of a bipolar transistor get decreases 2 mV (silicon) and 1.8mV (germanium) fo

Electric roadway system specification, The electric roadway system shall ut...

The electric roadway system shall utilize solar energy as the main power source. The electric roadway system shall negotiate with the power utility on backup power supply.

What is accelerated graphics port, What is AGP? AGP: The latest additio...

What is AGP? AGP: The latest addition for many computer systems is the inclusion of the accelerated graphics port. This AGP operates at the bus clock frequency of the microproc

Find the ratio of the speed of the generator, Q. A dc shunt machine has an ...

Q. A dc shunt machine has an armature winding resistance of 0.12  and a shunt-?eld winding resistance of 50 . The machine may be run on 250-V mains as either a generator or a mot

Conveyor, The FESTO conveyer consists of 600mm belt driven by a 24V d.c. mo...

The FESTO conveyer consists of 600mm belt driven by a 24V d.c. motor at a rate of 13 seconds per metre. A relay on the FESTO panel controls the motor operation and is wired for sou

Simulink help, I want simulink model for carrier based pwm method

I want simulink model for carrier based pwm method

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