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 effect of frequency of applied electric field, Explain effect of fr...

Explain effect of frequency of applied electric field. If an external electric field is applied, the distance among charges that is related to chemical bonding keeps constant i

Inductive coupling, #question. i want design of inductive coupling to trans...

#question. i want design of inductive coupling to transfer power @ 2 watt in air gap of 5mm radial distance..

Compute the efficiency of the transformer, Q. These data were obtained from...

Q. These data were obtained from tests carried out on a 10-kVA, 2300:230-V, 60-Hz distribution transformer: • Open-circuit test, with low-voltage winding excited: applied voltag

Methods for speed and torque control of induction motors, Q. Methods for sp...

Q. Methods for speed and torque control of induction motors? The following are methods available for speed and torque control of induction motors. • Pole-changing method

Transfer characteristics of jfets, Q. Give the Shockley's equation for the ...

Q. Give the Shockley's equation for the transfer characteristics of JFET's? Where ID is the drain current and VGS is the voltage across gate and source. The squared term o

Find the net force experienced by a positive charge, Q. Two charges of equa...

Q. Two charges of equal magnitude 5µC but opposite sign are separated by a distance of 10 m. Find the net force experienced by a positive charge q = 2 µC that is placed midway betw

ERT, What are the applications for solar PV system? Explain one of the appl...

What are the applications for solar PV system? Explain one of the application with neat schematic diagram.

Gis technology, GIS technology: GIS could be used to derive diverse in...

GIS technology: GIS could be used to derive diverse information for efficient technical and commercial management of a power distribution utility, e.g., capacity analysis, inv

What are the performance measures of oscillator circuits, Q. What are the p...

Q. What are the performance measures of oscillator circuits? 1. Stability: This is determined by the passive components. R, C and L determine frequency of oscillations. If R ch

Explain inductorless filters, Q. Explain Inductorless Filters Inductorl...

Q. Explain Inductorless Filters Inductorless (Active) Filters Filters (used to pass or eliminate certain frequency components of a signal) that are suitable for IC fabricati

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