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

The time constant of the circuit, A 20µF capacitor is connected in series w...

A 20µF capacitor is connected in series with a 50 kΩ resistor and the circuit is connected to a 20 V, d.c. supply. Verify: a)  The initial value of the current flowing, b)  T

Illustrate the working of ujt, Q. Explain, with the help of structure, the ...

Q. Explain, with the help of structure, the working of UJT? List its applications One of the oddest semiconductor devices in use is the unijunction transistor (UJT). As its nam

Matlab, design analog normalised low pass filter by using matlab routine ch...

design analog normalised low pass filter by using matlab routine cheb1ap

Inductive coupling, #question. i want design of inductive coupling to trans...

#question. i want design of inductive coupling to transfer power @ 2 watt in air gap of 5mm radial distance..

Transformer, Ask questiochan #Minimum 100 words accepted# characteristics o...

Ask questiochan #Minimum 100 words accepted# characteristics of transformer

Designing of a 2 way cross-over circuit for loudspeaker, Loudspeakers using...

Loudspeakers using single driver are unable to cover the entire frequency band from low frequency to high frequency. Sometimes multiband frequency is required for the bass enhancem

Help, How do you be in Harward

How do you be in Harward

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

Explain the voltage regulation, Explain the Voltage Regulation? The per...

Explain the Voltage Regulation? The percent of voltage regulation of a generator is defined as the ratio of the change in voltage from no-load to full-load to the full-load vol

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