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

Triggering capabilities of logic analyser, trigger capabilities of logic an...

trigger capabilities of logic analyser that differentiate it from other devices???

Game theory, an example and code for bargaining problem

an example and code for bargaining problem

Merits and demerits of fixed bias, Merits: 1.      It is very simple to...

Merits: 1.      It is very simple to shift the operating point anywhere in the active region by just changing the base resistor (R B ). 2.      A very small number of compon

Power distribution system, Power Distribution System The Distrib...

Power Distribution System The Distribution System contains: - Sub-transmission system in voltage ranges from 33 kV to 220 kV. The energy goes from power subs

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

What is error-rate control, Q. What is error-rate control? A system is ...

Q. What is error-rate control? A system is said to possess error-rate damping when the generation of the output in some way depends upon the rate of change of the actuating sig

Give the basic structure of a basic dma module, a) Give four features that ...

a) Give four features that were traditionally reserved to RISC architectures? b) Determine the overall throughput for 21 sequential instructions assuming a four-stage pipeline a

Positive and negative clippers, Positive Clippers The shunt connected p...

Positive Clippers The shunt connected positive clipper, in which the diode conducts for positive half cycle and hence, the output is a straight line. During the negative half c

Find the voltage gain of the overall circuit, Q. Find the voltage gain of t...

Q. Find the voltage gain of the overall circuit? (a) Consider the circuit of the inverting amplifier shown in Figure (a), including an ideal op amp. Show that the voltage gain

Effective negative voltage, Effective negative voltage: Effect negati...

Effective negative voltage: Effect negative voltage of get, when depend upon Pitch of voltage: the level of that results in id =0 ma is defined by eggs =vp with vp

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