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

Handshaking receiver system, You should document each step of each iteratio...

You should document each step of each iteration of your design. 1. You should include the following items from your preparation. a. A state diagram of the handshaking receive

Derive an expression for the electric force, Q. A two-winding system has it...

Q. A two-winding system has its inductances given by where k 1 and k 2 are constants. Neglecting the winding resistances, derive an expression for the electric force when

The resistance of a 7 m length of the similar cable, The resistance of a 2 ...

The resistance of a 2 m length of cable is 2.5?. Verify (a) the resistance of a 7 m length of the similar cable and (b) the length of the same wire when the resistance is 6.2

Calculate the resistivity of an alloy of copper, The resistivity of pure co...

The resistivity of pure copper is 1.56 micro-ohm -cm.  An alloy of copper contains 1 atomic percent nickel has a resistivity of 2.81 micro-ohm-cm. An alloy of copper containing 3-

Explain the working of asynchronous (ripple) counters, Explain the Working ...

Explain the Working of Asynchronous (Ripple) Counters? An external clock is connected to the clock input of the first flip-flop (FF0) only. Thus FF0 changes state at the falli

Compute the force, Q. Consider a current element I 1 d ¯ l 1 = 10 dz ¯ az...

Q. Consider a current element I 1 d ¯ l 1 = 10 dz ¯ az kA located at (0,0,1) and another I 2 d ¯ l 2 = 5dx ¯ ax kA located at (0,1,0). Compute d ¯ F 21 and d ¯ F 12 experienc

Laplace transform method, Consider the circuit shown in Figure (a) in which...

Consider the circuit shown in Figure (a) in which the switch S has been in position 1 for a long time. Let the switch be changed instantaneously to position 2 at t = 0. Obtain v(t)

Planning and research in power system, Q. Planning and Research in power sy...

Q. Planning and Research in power system? Energy research worldwide is assuming top priority, in particular because of economic, en - vironmental, and resource constraints. DOE

Find the meter reading assuming that the averaging is done, Q A residence i...

Q A residence is supplied with a voltage v(t) = 110√2cos120πt Vand a current i(t) = 10√2cos120πt A. If an electricmeter is used tomeasure the average power, find the meter reading,

Permanent magnets, Materials with 'hard' magnetic B/H characteristics often...

Materials with 'hard' magnetic B/H characteristics often show a strong residual magnetism. This makes them suitable for making permanent magnets. If the ring material were magnetis

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