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

Plot the waveforms of the inductor current, Q. The current through a 2.5-mH...

Q. The current through a 2.5-mH indicator is a damped sine given by i(t) = 10 e -500t sin 2000t. With the aid of MATLAB, plot the waveforms of the inductor current i(t), with v

Calculate the antenna aperture area, Q. Amicrowave relay systemuses two ide...

Q. Amicrowave relay systemuses two identical horn antennas mounted on towers spaced 40 km apart. If f c = 6 GHz, and each relay hop has L = 60 dB, calculate the antenna aperture a

How transistor will be used as an amplifier, (a) How transistor will be use...

(a) How transistor will be used as an amplifier? (b) Give relation between α and β? (c) Show the biasing arrangement for the PNP transistor in common base configuration, so t

Weins bridge oscillator, please give me the ckt for wein bridge oscillator ...

please give me the ckt for wein bridge oscillator with 5KHz frequency using transister (with exact values of resistor and capacitor).

What are the 8086 interrupt types, What are the 8086 interrupt types? D...

What are the 8086 interrupt types? Dedicated interrupts Type 0: Divide by zero interrupt Type 1: Single step interrupt Type 2:Non maskable interrupt Type 3: Breakpo

Research publication, i need research publication help. The topic is PHASED...

i need research publication help. The topic is PHASED ARRAY ANTENNA DESIGN for KU-band. I want a research paper that can be published in some conference.

Achieving reforms goals using gis applications, Achieving reforms goals usi...

Achieving reforms goals using GIS applications: GIS could help in achieving the above reforms goals through various applications: •  Creation of consumer database and cons

Continuity equations, Continuity Equations These equations are fundame...

Continuity Equations These equations are fundamentally particle conservation equations: Electron continuity equation:  ∂n /∂t = (1/q) (∂j N / ∂X) + G N - R N Hole c

Draw a block diagramfor a 2-to-4 decoder, Q. Draw a block diagramfor a 2-to...

Q. Draw a block diagramfor a 2-to-4 decoder. Obtain the truth table, and develop a logic diagram.

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