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 multimedia extensions technology, Explain MMX Technology. Mult...

Explain MMX Technology. Multimedia extensions technology adds 57 newly instructions to the instruction set of the Pentium - 4 microprocessors. The Multimedia extensions techno

What are frequency response curves, Q. What are frequency response curves? ...

Q. What are frequency response curves? How are they made? Every amplifier has a frequency-response curve associated with it. They provide a "picture" of the performance of an a

Communication, can I get matlab code for out of band radiation reduction of...

can I get matlab code for out of band radiation reduction ofdm system

Binary division , Binary  Division Similar  to multiplication  divisi...

Binary  Division Similar  to multiplication  division can be seen  multiple  subtractions.  For example  if we have to divide 9 by 4  we can subtract 4 ,2,  times  until is is

Planned and coordinated development - rural electrification, Planned and co...

Planned and coordinated development: The CEA would prepare the global Electricity Plan after carefully carrying out the demand forecast in consultation along with stakeholders

Bonding forces and energy bands in solids, Bonding Forces and Energy Bands ...

Bonding Forces and Energy Bands in Solids Electrons are controlled to sets of discrete energy levels in atoms, with large gaps among them in which no energy state is obta

Demultiplexer, How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates ...

How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates only ?

What is capacitor, What is Capacitor -  A capacitor is an electrical d...

What is Capacitor -  A capacitor is an electrical device that is used to kept electrical energy.   -  The unit of capacitance is Farad. The symbol of capacitance is C.

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