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

Transistor, what part the transistor plays in the circuit

what part the transistor plays in the circuit

Find the power amplification, The constants of an amplifier are given by A ...

The constants of an amplifier are given by A = 1, R i =10,000, and R o = 100. It is driven by a Thévenin source with v Th (t) = V O cos ωt and R Th = 20,000 . The amplifier o

Unconditional return, Unconditional Return RET Instruction: This  instr...

Unconditional Return RET Instruction: This  instruction is used to transfer the program sequence  from subroutine to the calling  program unconditionally. The instruction forma

Explain the category of ceramics, Ceramics are good (A)  Insulators. ...

Ceramics are good (A)  Insulators.                 (B) Conductors. (C)  Superconductors.      (D) Semiconductors. Ans: Ceramics are good insulators.

What are the different types of mosfet transistors, Q. What are the differe...

Q. What are the different types of MOSFET transistors ? The metal-oxide semiconductor field-effect transistor (MOSFET) is a three-terminal active device which has many applicat

Crossmagnetisation, what is crossmagnetisation in dc generator

what is crossmagnetisation in dc generator

What do you mean by exponent, Q. What do you mean by Exponent? The expo...

Q. What do you mean by Exponent? The exponent field needs to represent both negative and positive exponents. To perform this, a bias is added to the actual exponent in order

Simulation of a standard ic linear regulator, 1.    Introduction The ob...

1.    Introduction The objective of this assignment is to design and evaluate a stabilised discrete linear power supply. The power supply requires to be designed according to t

Discuss properties and uses of mica and mica products, Discuss important pr...

Discuss important properties and uses of Mica and Mica Products. Mica and Mica Products - Mica is an inorganic material. This is one of the best insulating materials availa

Pn junction, charactersticks of pn junction

charactersticks of pn junction

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