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

Working of an astable multivibrator, Q. With the help of a npn transistor c...

Q. With the help of a npn transistor circuit and wave forms explain the working of an astable multivibrator In astable multivibrator both transistors are coupled to each other

Find the magnitude of the force, Q. A solenoid of cylindrical geometry is s...

Q. A solenoid of cylindrical geometry is shown in Figure. (a) If the exciting coil carries a steady direct current I, derive an expression for the force on the plunger. (b) F

Necessary conditions to maintain sustained oscillation, Q. What are the nec...

Q. What are the necessary conditions to maintain sustained oscillation? The use of positive feedback that results in a feedback amplifier having closed-loop gain |Af| greater t

Radiation pattern of a half-wave dipole antenna, Q. The radiation pattern o...

Q. The radiation pattern of a half-wave dipole antenna is given by (a) Sketch the radiation pattern in the principal plane of xz containing angle θ. (b) Determine the beam wi

Line diagrams of a network-large company, i need a line diagram sample of a...

i need a line diagram sample of a large network, i need to practice how to draw and design such network

Program counter , Program Counter (PC) It is a   16 bit  register.  It ...

Program Counter (PC) It is a   16 bit  register.  It is a memory  pointer. It stores  the memory address  of the next  byte of the program to be executed. Memory  address is of

Briefly explain automotive ignition system, Q. Briefly explain Automotive I...

Q. Briefly explain Automotive Ignition System? Ignition systems in automobiles have been designed as a straightforward application of electrical transients. Figure shows a simp

Find whether the load impedance is capacitive or inductive, Q. When the two...

Q. When the two-wattmeter method for measuring three-phase power is used on a certain balanced load, readings of 1200W and 400W are obtained (without any reversals). Determine the

Give the register organization of 8257, Give the register organization of 8...

Give the register organization of 8257? The 8257 do the DMA operation over four independent DMA channels. Each of the four channels of 8257 has a couple of two 16-bit registers

Explain the different coupling schemes used in amplifiers, Q. Explain the d...

Q. Explain the different coupling schemes used in amplifiers? When amplifiers are cascaded, it is necessary to use a coupling network between the output of one amplifier and th

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