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

Draw the differentiator circuit, Q. Draw the differentiator circuit. Explai...

Q. Draw the differentiator circuit. Explain its principle of operation with necessary waveforms ? A circuit in which the output voltage is directly proportional to the derivati

Advantages of high level languages , Advantages of High  level  Languages...

Advantages of High  level  Languages a.It is  easy  to learn  write and debug  the program  written in high  level  languages. b.Programs are more  legible as compared to m

Analog communication systems, Q. Analog communication systems? An analo...

Q. Analog communication systems? An analog message is a continuum of possible amplitudes at any given time, and analog signals are continuous in time and in amplitude, such as

Sketch the waveforms of sinusoidal voltage source, Q. Consider the op-amp c...

Q. Consider the op-amp circuit of Figure. Sketch the waveforms of v S and v o , if v S is a sinusoidal voltage source with a peak value of 2.

Regenerative braking control - motor control , Regenerative Braking Control...

Regenerative Braking Control In this  methods  motor  behaves like a  generator  and the kinetic energy of the  motor  and connected load is  returned to the supply. If means

Square wave, Connect the TTL output (square wave) of the "Audio Oscillator"...

Connect the TTL output (square wave) of the "Audio Oscillator" to the "Scope Selector". Adjust the frequency of the square wave to 2 kHz. Observe and record the time domain pict

Eeprom, advantages and disadvantages

advantages and disadvantages

Components in a microprocessor, What are the basic components in a Micropro...

What are the basic components in a Microprocessor? 1) Address lines to refer to the address of a block 2) Data lines for data transmit 3) IC chips 4 processing data

Write explanatory notes on paging, Write explanatory notes on Paging. T...

Write explanatory notes on Paging. The memory paging mechanism located inside the 80386 and above permits any physical memory location to be allocated to any linear address. Th

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