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

Node-voltage method to find the current, Q. Use the node-voltage method to ...

Q. Use the node-voltage method to find the current I through the 5- resistor of the circuit of Figure.

Transistor, why BETA a current gain parameter of common emitter amplifier i...

why BETA a current gain parameter of common emitter amplifier is temperature dependent?

Opmi]]r., Ask question #Minimukkgkmm 100 words accepted#

Ask question #Minimukkgkmm 100 words accepted#

Traffic light display, Traffic Light Display Design a three color LED sy...

Traffic Light Display Design a three color LED system with the following times for each LED: Duration of Green signal : 16s Duration of Yellow signal : 1s Duration of R

Engine management systems for ic engines, In continuation of Part-B, the st...

In continuation of Part-B, the student is required to configure an engine management system for the proposed engine and produce a report including the following: A preamble

Amplifiers with feedback, Q. Amplifiers with Feedback? Almost all pract...

Q. Amplifiers with Feedback? Almost all practical amplifier circuits include some form of negative feedback. The advantages gained with feedback may include the following: •

Calculate the power factor of the motor, A 3 phase 400 volt(line to line) w...

A 3 phase 400 volt(line to line) wye connected synchronous motor has Xs= 1 ohm per phase and a negligible armature resistance. The field current is so adjusted that the internal(in

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

MUX, Is it used to replace the basic gates ?

Is it used to replace the basic gates ?

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