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

Compute current in given the circuit configuration, Q. Consider the circuit...

Q. Consider the circuit configuration shown in Figure. Let V i = 1V, R 1 = 1000, R 2 = 2000, and A = 3. (a) Compute i 2 . (b) If R 1 changed to 500 , recompute i 2 .

Zener Diode, A Zener diode has the specifications VZ=6.8V and PDmax.=500mW....

A Zener diode has the specifications VZ=6.8V and PDmax.=500mW. Assume RZ=0. (a) Find the maximum allowable current iZ when the Zener diode is acting as a regulator. (b) If a sing

Matlab simulation, Simulate and compare BER of QPSK system and 4-QAM system...

Simulate and compare BER of QPSK system and 4-QAM system without grey coding Eb/No=0.2.4.6.8.10

Di disable interrupts instruction, DI Disable  Interrupts Instruction ...

DI Disable  Interrupts Instruction The interrupt enable  flip flop is reset and all the  interrupts of 8085 microprocessors  except  TRAP  are disabled . the  instruction  form

What are the application specific instruction processors, What are the appl...

What are the application specific instruction processors? Single purpose processor or ASIP (Application Specific Instruction processor) a. Floating point Coprocessor and Gra

When mt2 and gate is negative, when MT 2 and Gate  is Negative In th...

when MT 2 and Gate  is Negative In this case gate  current  flows  through P 2 N 3 junction. Junction N 1 P 2 forward  biased hence the triac  starts  conduction through  P

Comparison between motorola processors and intel processors, Differentiate ...

Differentiate between Motorola processors and INTEL processors. Comparison between Motorola processors and INTEL processors: AMD/Intel processors are actually about similar t

What is thermal runaway, Q. What is thermal runaway. The problem of sel...

Q. What is thermal runaway. The problem of self heating arises due to dissipation of power at the collector junction. The leakage current ICBO is extremely temperature dependen

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

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