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
Determine i L (t) and v C (t) for t> 0 in the circuit given in Figure.

Q. Find idealized expressions for the active and ohmic states and sketch the universal characteristics of an n-channel enhancement MOSFET operated below breakdown.

If the message has a spectrum where K and Wf are positive constants, sketch the spectrum of a standard AM signal that uses the message. Comment on the physical signi?cance

Schottky  diodes The schottky diodes have very fast recovery time and  low forward drop.  The current  ratings of  these diodes  vary  from 1A to 300 a and  maximum  allowable

Execution of Digital Logic Circuits A safety circuit is employed on a lathe to prevent the motor turning if it is not safe to operate. A series of 2 switches are used to check

Q. Briefly explain about Transients in circuits? The total response of a system to an excitation that is suddenly applied or changed consists of the sum of the steady-state and

Q. The response v(t) of a linear system to a unit-step excitation i(t) is given by v(t) = (5 - 3e -t + 2e -2t ) u(t). Determine the transfer function H(s) = V (s)/I (s).

wave form of half wave rectifier with rl load

Q. What is Output Impedance? Output Impedance : The output impedance of an amplifier is a measure of the impedance or resistance. It has nothing to do with the actual loading t

The armature of a four-pole dcmachine has a simplex lap wound commutator winding (which has the number of parallel paths equal to the number of poles) with 120 two-turn coils. If t