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 circuit with capacitive load, Circuit with capacitive load Capa...

Circuit with capacitive load Capacitors which obey the relationship of equation are linear capacitors, since the potential difference among the conductive surfaces is linearly

Digital modulation, what are the different digital modulation techniques?

what are the different digital modulation techniques?

Magnetic field, how magnetic field is related to electric field

how magnetic field is related to electric field

Find the slip and the rotor frequency at full load, Q. A three-phase, 50-Hz...

Q. A three-phase, 50-Hz induction motor has a full load speed of 700 r/min and a no-load speed of 740 r/min. (a) How many poles does the machine have? (b) Find the slip and t

Threshold switching voltage, Analogue Threshold switching a) Include a...

Analogue Threshold switching a) Include a variable potential divider to the schematic diagram to control the transistor base voltage b) Include the potential divider compon

TRANSISTOR BIASING CIRCUITS, HOW TO FIND THE OPERATING POINT OF THE TRANSIS...

HOW TO FIND THE OPERATING POINT OF THE TRANSISTO IN A COLLECTOR TO BASE BIAS CIRCUIT

Find the rated and maximum torques, A 4000-V, 5000-hp, 60-Hz, 12-pole synch...

A 4000-V, 5000-hp, 60-Hz, 12-pole synchronous motor, with a synchronous reactance of 4  per phase (based on cylindrical-rotor theory), is excited to produce unity power factor at

Compute the rated-load efficiency, The following data apply to a 100-kW, 25...

The following data apply to a 100-kW, 250-V, six-pole, 1000-r/min long-shunt compound generator: no-load rotational losses 4000 W, armature resistance at 75°C = 0.015 , series-fie

Draw a state diagram of 3-bit ripple counter, The block diagram for a 3-bit...

The block diagram for a 3-bit ripple counter is shown in Figure (a). Obtain a state table for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.

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