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

What is the load resistance in ohms, Q. A 5-MVA, 66:13.2 kV, three-phase tr...

Q. A 5-MVA, 66:13.2 kV, three-phase transformer supplies a three-phase resistive load of 4500 kW at 13.2 kV. What is the load resistance in ohms as measured fromline to neutral on

Explain imul instructions in 8086 family, Explain IMUL instructions in 80...

Explain IMUL instructions in 8086 family with example and their effect on flag. IMUL: It is an instruction for multiplication of two signed numbers. This result is a signed

Explain types of addressing modes, Problem: a) Explain types of "Addres...

Problem: a) Explain types of "Addressing Modes". b) What is the difference between "Rotate" and "Swap" Operations? c) A computer spends a lot of time in moving data from

Bode plot phase ad gain margin, Using Bode plot calculate (a) Phase margin ...

Using Bode plot calculate (a) Phase margin (b) Gain margin (c) Stability of closed loop system. The open transfer function of the system is t=30/(s+2)/(s+3)Using Bode plot calcula

Diploma in electrical engineering, After I complete my diploma how I get a ...

After I complete my diploma how I get a job in goverment

Use mesh analysis and nodal analysis to determine current, Q. Use (a) mesh ...

Q. Use (a) mesh analysis and (b) nodal analysis to determine the current through the 4-resistor of the circuit of Figure.

Repeatability , Reproducibility and repeatability are measures of closeness...

Reproducibility and repeatability are measures of closeness with which a given input may be measured over again. The two terms cause confusion. Therefore, a distinction is made bet

Determine the air-gap flux density, Q. A four-pole dc generator is lap woun...

Q. A four-pole dc generator is lap wound with 326 armature conductors. It runs at 650 r/min on full load, with an induced voltage of 252 V. If the bore of themachine is 42 cmin dia

Explain the term assembler directives, Explain the term assembler directive...

Explain the term assembler directives. An assembler directive is a statement to provide direction to the assembler to execute the task of assembly process. These assembler dire

4gls - fourth generations languages, 4GLs (Fourth Generations Languages) ...

4GLs (Fourth Generations Languages) These  are called  non procedural  languages May be considered as  advanced HLL. Objects oriented programming  languages and language  with

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