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

Explain the external data bus, Q. Explain the External Data Bus? Extern...

Q. Explain the External Data Bus? External Data Bus: A bus which connects a computer to peripheral devices. 8088 microprocessor has 16-bit registers, 16-bit internal data bus i

Explain soft ferrites and their applications, Explain Soft ferrites and the...

Explain Soft ferrites and their applications. Soft ferrites and their applications: Such are non- metallic compounds having ferric oxide and one or two bivalent metal oxides as

Equivalent circuit of unijunction transistor, Equivalent Circuit : Th...

Equivalent Circuit : The equivalent circuit of a UJT is shown in fig. The P - N junction represented in the emitter by a diode. Silicon bar being lightly doped has a high res

Determine the memory access time, Question: (a) Explain the types of ha...

Question: (a) Explain the types of hazards in a 5 stage pipeline. (b) Describe the three RAW dependencies in the following instructions. i: R7←R12+R15 i + 1: R8←R7-R1

#titl optimal power flow , to get PV curve i want optimal power flow progra...

to get PV curve i want optimal power flow program in matlab

Mr GZ, HOW TO PERFOM AUTO DIALLING USING GSM MODULE

HOW TO PERFOM AUTO DIALLING USING GSM MODULE

Multiplexed address data bus - pins and signals , Multiplexed Address/ Data...

Multiplexed Address/ Data Bus Pins AD 7 - AD) are used for multiplexed address data bus. This bus is bidirectional  input output  and  serves two  purpose. Initially the bus

Electron beam focused to a fine spot, Q. How is the electron beam focused t...

Q. How is the electron beam focused to a fine spot on the face of the CRT? Sol. The functional diagram of an electrostatic focusing arrangement is shown below. The pre-accele

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