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
Fermi Dirac level: Sol. The Fermi level is simply a reference energy level. It is the energy level at which the probability of finding an electron n energy unit above it in

What are the advantages of wired-AND connection of digital IC

Metering Techniques The techniques of metering could be categorized depending upon the voltage at which consumers are fed as: 1. LT (Low Tension) Metering, and 2. HT (Hi

Wiring a Plug : Let us consider the problem of connecting a 16 A plug, commonly known as 15 A or power plug to an electrical appliance. Do you use any old bit of wire, or any

Q. (a) Determine the Thévenin and Norton equivalent circuits as viewed by the load resistance R in the network of Figure. (b) Find the value of R if the power dissipated by R is

what would the change after adding a registor paralelly in clampers?

What is meant by microcontroller? A device which having the microprocessor with integrated peripherals like memory, serial ports, parallel ports, timer/counter, interrupt contr

Memory  to Register This  instruction is used to copy the contents of a memory  locations whose  address is specified by the HL register  pair to any register. Before  using th

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

Prepaid Meters Prepaid metering is a system whereby consumers purchase electricity by a smart card. The amount paid together along with other information is encoded in the sma