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

What do you understand by dram and its refreshing, What do you understand b...

What do you understand by DRAM and its refreshing? Dynamic RAM (DRAM) is fundamentally the same as SRAM, but this retains data for only 2 or 4 ms on an internal capacitor. But

The resistance of an electrical conductor, The resistance of an electrical ...

The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

Actual loading method, Actual Loading Method This method is employed c...

Actual Loading Method This method is employed commonly for testing of single phase meters within laboratory. On a meter testing bench that is equipped along with several taps

Logical operations , Logical Operations Various  operations like and  ...

Logical Operations Various  operations like and  or exclusive  or complement compare and rotate are called  logical  operations. Generally flags ( not all always) are modified

What do mean by flow of electron, Flow of electrons - Electrons flow down a...

Flow of electrons - Electrons flow down a wire that is what current, is. Good conductors like copper and silver and aluminum have free electrons in their outer shells, and they jum

Determine n-type semiconductor of example which material, N-type semiconduc...

N-type semiconductor is an example of (A)  Extrinsic semiconductor.            (B) Intrinsic semiconductor. (C)  Super conductor.                        (D)  Insulators.

Three phase steam turbine generator, A 3 phase 400 volt(line to line) wye c...

A 3 phase 400 volt(line to line) wye connected synchronous motor has Xs= 1 ohm per phase and a negligible armature resistance. The field current is so adjusted that the internal(in

Draw a schematic diagram of transformer connections, Q. Three single-phase,...

Q. Three single-phase, 10-kVA, 2400/120-V, 60- Hz transformers are connected to form a three- phase, 4160/208-V transformer bank. Each of the single-phase transformers has an equiv

Sketch the individual phase flux contributions, Q. Consider the balanced th...

Q. Consider the balanced three-phase alternating currents, shown in Figure, to be flowing in phases a, b, and c, respectively, of the two pole stator structure shown in Figure with

List the different types of flags, List the different types of flags affect...

List the different types of flags affected by the arithmetic and logic operations. Carry flag, Auxiliary carry flag , Parity flag, Sign flag, Zero flag

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