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 cold rolled grain oriented steel, Discuss the properties and uses o...

Discuss the properties and uses of Cold rolled grain oriented steel. Cold rolled grain oriented steel:  Grain orientation of silicon steel is acquired by a special technique

Sketch voltage and the energy stored in the capacitor, Q. Considering the c...

Q. Considering the circuit shown in Figure, sketch v(t) and the energy stored in the capacitor as a function of time.

Fly back converter - power supplies, Fly  Back Converter In fly  back ...

Fly  Back Converter In fly  back  converter an inductor is used is  primary winding of transformer. Inductor  stores  the energy when  unregulated DC  input is given  to the

Induction motor, A very widely used alternative form of synchronous motor i...

A very widely used alternative form of synchronous motor is the  ' indu c tion motor'. This has the advantage that it does not require an auxiliary motor to run the rotor up t

Multiprocessing - many processors many users many programs , Multiprocessin...

Multiprocessing - Many Processors Many users Many Programs  Multiprocessing or also  called  distributed processing system  provides solution to problems of above  timesharing

project, I want to make project plz help me n gove me idea about actually ...

I want to make project plz help me n gove me idea about actually its my first year in electrical engineering thts why Ineed help hpfully you will reply soon

Give the basic structure of a basic dma module, a) Give four features that ...

a) Give four features that were traditionally reserved to RISC architectures? b) Determine the overall throughput for 21 sequential instructions assuming a four-stage pipeline a

Solid state, What are the fundamentals of solid states?

What are the fundamentals of solid states?

Explain index mode and base address mode, Explain index mode and base addre...

Explain index mode and base address mode (with examples) available in microprocessors. Index Mode and Base Address Mode: Address supplied through the instruction is adde

Wireless cellular systems, i want help in builiding a simulator of cellular...

i want help in builiding a simulator of cellular systems under different frequency reuse scenarios?

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