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

Control, Ask The goal of this project is to model a system and to design a ...

Ask The goal of this project is to model a system and to design a controller for the system so that the closed-loop system performs satisfactorily. We want to accurately positio

Explain multimeter, Explain multimeter A multimeter, or universal instr...

Explain multimeter A multimeter, or universal instrument, may be used to measure voltage, current and resistance.

Series-carry synchronous counter with t flip-flops, Q. Consider a series-ca...

Q. Consider a series-carry synchronous counter with T flip-flops shown in Figure in which the AND gates carry forward the transitions of the flip-flops, thereby improving the speed

What do you mean by companding, Q. What do you mean by Companding? Comp...

Q. What do you mean by Companding? Companding is the process of compressing and expanding. It comprises compressing the signal at the transmitter and expanding it at the receiv

Induction heating - -stepper motor , Normal 0 false false f...

Normal 0 false false false EN-IN X-NONE X-NONE Induction Heating When alternating curren

What do you mean by retention of risk, Q. What do you mean by Retention of ...

Q. What do you mean by Retention of Risk? Retention of Risk: In case of this method, the organization voluntarily accepts the risk since either the risk is insignificant or its

Microprocessor, Memory map of tpa in a personal computer and explain such o...

Memory map of tpa in a personal computer and explain such of the areas in brief

Speech Timer, Speech timer where max time is 5 minutes Use the switche...

Speech timer where max time is 5 minutes Use the switches for: start switch reset switch use the lights to represent: the “green” light meaning the

Difference between and and test instructions, Mention how do the AND & T...

Mention how do the AND & TEST instructions differ in their functionality AND: Changes the destination operand while performs the AND operation and. TEST: This ins

Dc generator, short note on armature reaction

short note on armature reaction

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