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

Revenue loss due to loss of opportunity to serve, Revenue Loss Due to Loss ...

Revenue Loss Due to Loss of Opportunity to Serve The revenue loss because of "loss of opportunity to serve" is a extremely relevant but less visible aspect of revenue loss. Gu

N-channel enhancement mosfet, Given an n-channel enhancement MOSFET having ...

Given an n-channel enhancement MOSFET having V T = 4V, K = 0.15 A/V 2 , I DQ = 0.5A, V DSQ = 10 V, and V DD = 20 V. Using the dc design approach outlined in this section, dete

Which matels alloy make bronze, Bronze is an alloy of (A) Copper and T...

Bronze is an alloy of (A) Copper and Tin.               (B) Copper and Steel. (C) Copper and Mercury.      (D) Copper and Aluminium. Ans: Bronze is an alloy of Cop

Describe the working of binary comparator, Digital Systems 1. Describe ...

Digital Systems 1. Describe the working of Binary comparator (Magnitude comparator) a. Define Binary comparator b. Binary comparator working process with logical diagrams 2.

What are loosely coupled systems, What are loosely coupled systems? In ...

What are loosely coupled systems? In loosely coupled systems every CPU may have its own bus control logic. The bus arbitration is handled by an external circuit, common to all

Define short lines, Define Short Lines? For short power lines (up to 50...

Define Short Lines? For short power lines (up to 50 miles; 80 km),  the effects of the shunt capacitance and leakage resistance are negligible. Hence the line may be represente

Explain frequency response curve of a rc coupled amplifier, Q. Explain the...

Q. Explain the frequency response curve of a  RC coupled amplifier The frequency response curve of a typical RC coupled Amplifier is shown below: In mid frequency range

Explain integral-error or reset control, Q. Explain Integral-error or reset...

Q. Explain Integral-error or reset control? A control system is said to possess integral-error control when the generation of the output in some way depends upon the integral o

Dc motors, costruction and working of dc motor

costruction and working of dc motor

Calculate the bandwidth and input-output resistance, Using the LM741operati...

Using the LM741operational amplifier build a voltage amplifier with the voltage gain of  |A V | = 500 v/v ± = 20%. Measure all necessary parameters of the amplifier (as per deliver

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