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

Lossy transmission line, Q. The model of an elemental length of a lossy tra...

Q. The model of an elemental length of a lossy transmission line is shown in Figure (a), along with its parameters, where R is series resistance per unit length, L is serie

Calculate the cross-sectional area, Calculate the cross-sectional area, in...

Calculate the cross-sectional area, in mm 2 , of a piece of aluminium wire 100 m long and having a resistance of 2Ω. Take the resistivity of aluminium as 0.03 x 10-6 Ωm.

Data bus - bus organisation , Data bus The data  bus is the  group of 8...

Data bus The data  bus is the  group of 8 bit   used  to carry data. There  line are  bidirectional data can flow  in both  directions i e form  microprocessor to  peripherals

What is balanced discriminator, Q. What is balanced discriminator? A ba...

Q. What is balanced discriminator? A balanced discriminator with the corresponding frequency characteristics is depicted in Figure. The rising half of the frequency characteris

Introduction to electronics, Explain the difference between a microprocesso...

Explain the difference between a microprocessor and an embedded microcontroller

Compute the real power and inductive load, Q. A 60-Hz, 440-V, three-phase s...

Q. A 60-Hz, 440-V, three-phase system feeds two balanced wye-connected loads in parallel. One load has a per-phase impedance of 8 + j3  and the other 4 - j1 . Compute the real po

Resistors, what are the classifications of fixed resistor?explain

what are the classifications of fixed resistor?explain

How power amplifiers are classified, a. Describe briefly with suitable diag...

a. Describe briefly with suitable diagrams, how power amplifiers are classified with reference to operating point? b. Get the maximum efficiency of class A direct coupled power

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