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

Critical field circuit resistance and critical speed, Q.   Define and expla...

Q.   Define and explain the critical field circuit resistance and critical speed of a DC shunt generator.   Ans. The OCC and R - line for a DC shunt generator. As, R f is

Develop a block diagram for a bcd encoder, Q. Based on the 8421 BCD code fo...

Q. Based on the 8421 BCD code for decimal digits 0 through 9, develop a block diagram for a BCD encoder and its implementation scheme.

For combined load calculate real power and reactive power, Q. A 6.6-kV line...

Q. A 6.6-kV line feeds two loads connected in parallel. Load A draws 100 kW at 0.6 lagging power factor, and load B absorbs 100 kVA at 0.8 lagging power factor. (a) For the comb

Demultiplexer, full sub tractor using demultiplexer

full sub tractor using demultiplexer

Gto - gate turn off, GTO ( Gate Turn Off) GTO stands for gate  turn o...

GTO ( Gate Turn Off) GTO stands for gate  turn off  thyristor . it is four layer  PNPN  device. It can be  triggered into conduction like a conventional thyristor  by a pulse

#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

Find an expression for the instantaneous force, Q. Let the solenoid carry a...

Q. Let the solenoid carry an alternating current of 10 A (rms) at 60 Hz instead of the direct current. Find an expression for the instantaneous force.

List few applications of microprocessor-based system, List few applications...

List few applications of microprocessor-based system. It is used: i. For measurements, display and control of current, voltage, temperature, pressure, etc. ii. For traff

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