Binary subtraction , Electrical Engineering

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.

Posted Date: 4/3/2013 6:14:52 AM | Location : United States







Related Discussions:- Binary subtraction , Assignment Help, Ask Question on Binary subtraction , Get Answer, Expert's Help, Binary subtraction Discussions

Write discussion on Binary subtraction
Your posts are moderated
Related Questions
What is the use of 8251 chip? 8251 chip is mostly used as the asynchronous serial interface among the processor and the external equipment.

Question: (a) With the help of a clearly labeled diagram explain the functioning of a basic thermocouple. (b) Briefly explain the principle and operation of strain gauges

HOW TO PERFOM AUTO DIALLING USING GSM MODULE

Technical Loss Reduction - Power Supply 1. Technical loss reduction could be achieved through several measures such as network reconfiguration, load balancing, network recondu


One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

Q. Explain the working principle of a Q meter. Also explain the factors that cause errors during a Q factor measurement. Ans.   Working Principle of Q Meter: the q meter is

Define the Gauss Seidel Method The Gauss-Seidel method is an iterative method in which the voltage of each node is calculated in turn using the most up to date voltages for the

Question: Figure shows the basic circuit of the BJT Common Emitter Amplifier. (a) What is the function of RB, RC, Ci, Co and CE ? (b) (i) Sketch the d.c. equivalent circu

Q. Show a block diagram of a 4-bit, parallel-input shift-right register and briefly explain its operation.