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

Power control - motor control , Power Control A chopper converts  fix...

Power Control A chopper converts  fixed  de input voltage to a controllable dc output voltage. It is  the single  stage dc to dc conversion device. It is a high  speed  on/ of

Find the induced armature voltage at rated load, Q. A50-kW, 230-Vcompound g...

Q. A50-kW, 230-Vcompound generator has the following data: armature-circuit resistance 0.05 , series-field circuit resistance 0.05 , and shunt- field circuit resistance 125 . As

Psuedo code, Ask questiIn a right triangle, the square of the length of one...

Ask questiIn a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Stephanie has the integer lengths of t

Pdc, disadvantages of shunt clippers

disadvantages of shunt clippers

Octal to binary conversion, Octal to binary Conversion Conversion form ...

Octal to binary Conversion Conversion form  octal to binary  is the reverse  of this process. Express each  octal digit  in three bit  binary  equivalent. Ex. Convert 3576

Obtain a pos expression, Q. The K map of a logic function is shown in Figur...

Q. The K map of a logic function is shown in Figure. (a) Obtain a POS expression and its corresponding realization. (b) For the purpose of comparison, obtain the correspondin

Why fet is called a voltage-controlled device, Q. Why FET is called a volta...

Q. Why FET is called a voltage-controlled device? Why its input resistance is high? In the case of a FET the output current ID is a function of the voltage VGS applied to the i

Calculate the diameter of an air-filled circular waveguide, Q. Calculate th...

Q. Calculate the diameter of an air-filled circular waveguide? Unlike transmission lines, which operate at any frequency up to a cutoff value, waveguides have both upper and lo

Explain working of electrically erasable programmable rom, Q. Working of El...

Q. Working of Electrically erasable programmable rom EEPROM is used for remote-area applications. The device is provided with special pins which, when activated electrically, a

Determine a normalized frequency at 820nm, Determine a normalized frequency...

Determine a normalized frequency at 820nm for a step index fibre having 25µm core radius. Given n 1 =1.48 and n 2 =1.46.Also calculate how several modes propagate within this fibre

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