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

V-i characteristics - power semiconductor devices , V-I Characteristics ...

V-I Characteristics  In the  normal  mode of  operation of an IGBT  a positive  voltage is applied to the collector relative to emitter. When  the gate is at zero potential wi

Show the amenability to computer processing, Q. Show the Amenability to com...

Q. Show the Amenability to computer processing? Due to the digital data collected and stored in the form of a matrix, the same becomes amenable to processing on computers. By f

Describe an integrator circuit, Q. Describe an integrator circuit ? A c...

Q. Describe an integrator circuit ? A circuit in which output voltage is directly proportional to the integral of the input is known as an integrating circuit. An integrating c

Nicol prism, how much and what to write it is of 30 marks

how much and what to write it is of 30 marks

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Collection and payment systems, Collection and Payment Systems Payment...

Collection and Payment Systems Payments are currently made in person in most of the places. Only some places payments could be made on line or by the ATM (Automated Teller Mac

Voltage, the relation between power

the relation between power

Find the current, 1. A 1 μm long and 100 μm 2 cross-sectional area silicon...

1. A 1 μm long and 100 μm 2 cross-sectional area silicon bar is doped with 10 16 /cm 3 phosphorous. Use the graph below to: a. Find the current at 300°K with 10 V applie

Linear time invariant, A LIT (linear time-invariant) system, impulse respon...

A LIT (linear time-invariant) system, impulse response h [ n ], is described by: (a) Show the block-diagram representation for this FIR filter (only use multiplier, adder

Write discussion on Construction and working of analog type, Write discussi...

Write discussion on Construction and working of analog type storage oscilloscope

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