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

State the functions of a fuse, State the functions of a fuse. Fuse is ...

State the functions of a fuse. Fuse is a protective device that made of a thin wire or strip. This strip or wire is placed with the circuit this has to protect, therefore the

Write a short note on rs-232-c, Write a short note on RS-232-C. The RS-...

Write a short note on RS-232-C. The RS-232 standard is a collection of connection standards among different pieces of equipment. The EIA RS-232 serial communication standard is

Find the diode current and voltage in given circuit, We shall demonstrate l...

We shall demonstrate load-line analysis to find the diode current and voltage, and then compute the total power output of the battery source in the circuit of Figure (a), given the

Sources of power dissipation in cmos logic, Describe the three main sources...

Describe the three main sources of power dissipation in CMOS logic. Hence calculate the power dissipated in a CMOS ASIC of 40,000 gates operating at a frequency of 133MHz with a s

Three phase ac circuit, Three Phase AC Circuit: Alternating circuits t...

Three Phase AC Circuit: Alternating circuits thus far discussed have single phase supply system and it's satisfactory for domestic application as light, fan and heating, etc.

Role of gis in distribution reforms, Role of GIS in Distribution Reforms: ...

Role of GIS in Distribution Reforms: You will agree which distribution is the weakest link in the chain of power supply and has been identified as the key focus area in power

Industrial Automation, 1. Write the Boolean expression and draw the gate lo...

1. Write the Boolean expression and draw the gate logic diagram and typical PLC ladder logic diagram for a control system wherein a fan is to run only when all of the following con

Show voltage wave form of rlc series circuit, Q. The voltage wave form of F...

Q. The voltage wave form of Figure is applied to an RLC series circuit with R = 2, L = 2H, and C = 1 F. Obtain i(t) in the series circuit. (Note that the capacitor and inductor va

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