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

State the principle of operation of a capacitor, a. Describe why a three-ph...

a. Describe why a three-phase induction motor rotates always with a speed less than the synchronous speed. b. State the principle of operation of a capacitor start single-phase

What is cd-rom, Compact Disc - Read Only Memory. A CD-ROM is any compact di...

Compact Disc - Read Only Memory. A CD-ROM is any compact disc which having computer data. These discs can store enormous amounts of data (up to 640 megabytes). If there is a large

Find terminal line-to-neutral voltage of each phase winding, (a) A wye-conn...

(a) A wye-connected generator is to be designed to supply a 20-kV three-phase line. Find the terminal line-to-neutral voltage of each phase winding. (b) If the windings of the g

Unijunction transistor, UniJunction Transistor: (abbreviated as UJT)...

UniJunction Transistor: (abbreviated as UJT), also called the double base diode, is a 2 layer, 3 terminal solid state switching device. The device has a unique characteristi

Calculate the analog output voltag, For the 3-bit 2 n -R D/A converter of ...

For the 3-bit 2 n -R D/A converter of Figure, calculate the analog output voltage when the input is (a) 100, and (b) 010. Solution a. For the binary input 100, switches con

Mainframes - introduction to microprocessors , Mainframes Computers lar...

Mainframes Computers larger than minicomputer more power  operating at very high speed  called  mainframes.  They  can processes 64  bit data.  Such computers are used  in defe

Obtain the thevenin equivalent at terminals, Consider the circuit of Figure...

Consider the circuit of Figure (a), including a dependent source. Obtain the Thévenin equivalent at terminals a-b.

Perform analysis and calculate the values of vgs, A small signal amplifier ...

A small signal amplifier circuit is given in figure Q 4. The values of RD and RS must be set such that the gain of the system is 8. It is also known that Vgs = ¼ Vp. a). Per

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