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

Analysis on solar charging system buck converter with VMC, PLS WRITE THE IN...

PLS WRITE THE INTRODUCTION, METHODOLOGY AND LITERATURE REVIEW

What is rxd, What is RXD? RXD- Receive Data Input This input pin of ...

What is RXD? RXD- Receive Data Input This input pin of 8251A gets a composite stream of the data to be received by 8251A.

Determine the percent voltage regulation of the transformer, The transforme...

The transformer of Example is supplying full load (i.e., rated load of 50 kVA) at a rated secondary voltage of 240 V and 0.8 power factor lagging. Neglecting the exciting current o

Evaluate hysteresis loss, Q. A magnetic circuit is found to have an ac hyst...

Q. A magnetic circuit is found to have an ac hysteresis loss of 10 W when the peak current is Im = 2 A. Assuming the exponent of Bm to be 1.5, estimate Ph for Im = 0.5A and 8A.

Define the property under which resistance of metals vanish, The property d...

The property due to which the resistance of some metal or compound vanishes under certain conditions is (A) Semi conductivity.                     (B) Super conductivity.

Core functionalities of the gis, Core Functionalities of the GIS: The...

Core Functionalities of the GIS: The GIS should be able to: 1          Create layers from all supported data sources involving coverage feature classes, shape files, compu

Atomic structure, State the postulates of Bohr''s atomic model. Write any ...

State the postulates of Bohr''s atomic model. Write any three merits and demerits.

Hot line maintenance, how do you define the expertise for this hot line mai...

how do you define the expertise for this hot line maintenance?

Define branch prediction logic in pentium, Define branch prediction logic i...

Define branch prediction logic in Pentium. Branch prediction logic in Pentium: The Pentium microprocessor utilizes branch prediction logic to decrease the time required for a

High level language - third generation language , High Level Language ( thi...

High Level Language ( third Generation Language ) The difficulties of low  level  languages are overcome  by high  level languages. In  assembly  language  mnemonics  were used

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