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

Fulfilled to sustain the oscillations, Q. What are the conditions required ...

Q. What are the conditions required to be fulfilled to sustain the oscillations? The conditions required to be fulfilled to sustain the oscillations are: 1. The loop gain mu

Demultiplexer, How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates ...

How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates only ?

What is the working of sensor in robotics, (a) What is the working of senso...

(a) What is the working of sensor in Robotics ? (b) Define the following : (i) Proximity Sensor (ii) Tactile Sensors (iii) Optical Sensor. (c) What is an End Effecto

Circuit analysis, what is quality factor in term circuit analysis

what is quality factor in term circuit analysis

Probability of availability of free lines, Q. How does one arrive at the pr...

Q. How does one arrive at the probability of availability of free lines during busy hour? How can this be improved? Ans: One can arrive at probability of free lines during busy

Explain properties and application of aluminium, Explain properties and app...

Explain properties and application of Aluminium. Properties of Aluminium: 1) Pure aluminium in colour is silver white. 2) Aluminium is a ductile metal and can be put

Junctions and diodes, An intrinsic semiconductor at room temperature has fr...

An intrinsic semiconductor at room temperature has free electrons

Types of multiplexing techniques, (a) List three types of Multiplexing tech...

(a) List three types of Multiplexing techniques. (b) Give two advantages of "Multiplexing". (c) Given the total duration for the signal is 8 ns. What is the bit rate for

Determine the number of bits of a natural binary encoder, Determine the num...

Determine the number of bits of a natural binary encoder that works with the quantizer: a) If the extreme levels are ±3.1 V, with a step size of 0.2 V. (b) If there are 128 q

What is voltage multiplying dacs, What is Voltage Multiplying DACs? Mul...

What is Voltage Multiplying DACs? Multiplying DACs function on the principle of producing a weighted sum analog signal where the sum is proportional to the digital input signal

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