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
Q. What is RingTopology? In ring topology, all user nodes are connected with physical path acting as links of a chain and last user node is connected back to the first node. A


Q. IllustrateCommon base configuration? Common base configuration: In this circuit the base is common to both input and the output.Such a configuration is also known as groun

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  dis


Give Illustration of AND and OR Gate - Microprocessor? Illustration: The image below demonstrate the 4 possible inputs into a 2-input AND gate and all the corresponding outputs

a) Diagram FMS layout configurations with labeling. b) what are the basic components of FMS?Discuss in briefly. c) Describe the function of material handling system.

Let both coherent ASK and coherent PSK systems transmit the same average energy per bit interval and operate on the same channel such that E b /N 0 = 18. Determine the bit-error p

Although the low side is not as good a choice as the high-side local oscillator frequency, let an AM broadcast receiver be designed with a low-side local oscillator. As fc is varie

Calculate the maximum length of an optical fibre that exhibits 0.8dB/km attenuation if the optical output is 10mW and the power launched at the input is 150mW. [Hint: Loss, L=10 lo