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

What do you mean by nibble, Q. What do you mean by Nibble? The nibble i...

Q. What do you mean by Nibble? The nibble is a collection of bits on a 4-bit boundary. It would not be a particularly interesting data structure except for two items BCD (binar

What is the purpose of segment registers in 8086, What is the purpose of se...

What is the purpose of segment registers in 8086? There are 4 segment registers present in 8086. They are 1. Code Segment (CS ) register 2. Data Segment (DS ) register

Evaluate the damping ratio for the gain, A feedback control system with the...

A feedback control system with the configuration of Figure has the following parameters: K p = 0.5 V/rad, K a = 100 V/V, K m = 2.7 × 10 -4 N·m/V, J = 1.5 × 10 -5 kg·m 2 , and

Explain p - type semiconductor, Explain p - Type semiconductor. p - ...

Explain p - Type semiconductor. p - Type semiconductor:- (i) If small amount of trivalent impurity is added with to a pure semiconductor giving a large no. of holes in t

Electro Chemistry, Construction and working of calomel electrode

Construction and working of calomel electrode

Transmission and swiching systems, using a combination of uniselectors and ...

using a combination of uniselectors and two motion selectors, draw a schematic of thousand line exchange and explain its working

Show advantages of oscillators, Q. Show Advantages of Oscillators? Alth...

Q. Show Advantages of Oscillators? Although oscillations can be produced by mechanical devices (e.g. alternators), but electronic oscillators have the following advantages:

Centrifugal compressor, hi I need information of Compressor Shaft Impelle...

hi I need information of Compressor Shaft Impellers Coupling Hub Thrust Collars Balance Drum for centrifugal compressor with pecture

Estimate the maximum number of conversions, Q. The speed of an 8-bit A/D co...

Q. The speed of an 8-bit A/D converter is limited by the counter, which has a maximum speed of 4 × 10 7 counts per second. Estimate the maximum number of A/D conversions per secon

Electrical fundamentals, Electrical Fundamentals 1. An aircraft compan...

Electrical Fundamentals 1. An aircraft company has decided to replace the copper cables to the main aircraft generators onboard it's Boeing 747s with aluminium cables that are

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