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

Singles phase half wave controlled rectifier with rl load, Singles Phase ...

Singles Phase  Half wave Controlled Rectifier  with RL Load When gate pulses are applied to the thyristor  at output voltage  v0 follows the input voltage  v s ( = V m sin ) s

Ldst, Design a logic circuit with 4 inputs A, B, C & D that will produce o...

Design a logic circuit with 4 inputs A, B, C & D that will produce output ‘1’ only whenever two adjacent input variables are 1’s. A & D are also to be treated as adjacent, impleme

Electronics, The mobility of free electrons and holes for pure silicon are ...

The mobility of free electrons and holes for pure silicon are 0.13 and 0.05 m2/V-S respectively. Find the intrinsic conductivity for silicon. Assuming ni = 1.5x 1016/cm3 at room te

Explain the working of electronic multimeter, Q.  Give suitable block diag...

Q.  Give suitable block diagram to explain the working of electronic multimeter. Sol. An electronic multimeter is a laboratory instrument which is capable of measurement of

Cro, Diagram and explanation of cro

Diagram and explanation of cro

Obtain a pos expression, Q. The K map of a logic function is shown in Figur...

Q. The K map of a logic function is shown in Figure. (a) Obtain a POS expression and its corresponding realization. (b) For the purpose of comparison, obtain the correspondin

Thevenin equivalent circuit, The circuit below will be most efficiently ana...

The circuit below will be most efficiently analyzed by obtaining the Thevenin equivalent circuit for the circuit to the left of the points (a-b) on the schematic. The capacitor is

EDC, What is hall effect?

What is hall effect?

What do you mean by internal data bus, What do you mean by internal data bu...

What do you mean by internal data bus? Internal Data Bus: A bus which operates only in the internal circuitry of the CPU, communicating between the internal caches of memory

Determine the largest crest factor, A quantizer has 130 quantum levels that...

A quantizer has 130 quantum levels that exactly span the extremes of a symmetrically ?uctuating message with step size δv = 0.04 V. Determine the following: (a) |f(t)|max.

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