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

Show block diagram of a 4-bit parallel-input shift register, Q. Show a bloc...

Q. Show a block diagram of a 4-bit, parallel-input shift-right register and brie?y explain its operation.

Find the per-unit voltage regulation, Q. A single-phase, 3-kVA, 220:110-V, ...

Q. A single-phase, 3-kVA, 220:110-V, 60-Hz transformer has a high-voltage winding resistance of 0.3 , a low-voltage winding resistance of 0.06 , a leakage reactance of 0.8  on i

What is synchronous data transfer, What is synchronous data transfer? I...

What is synchronous data transfer? It is a data method which is used when the I/O device and the microprocessor match in speed. To transfer a data to or from the device, the us

If a single phase motor fails to run, Q. If a single phase motor fails to r...

Q. If a single phase motor fails to run or start slow what action to be taken. Ans: If it is not starting check the supply and test the winding if it found normal check

Show procedure of divide the decimal number by 2, Q. Show procedure of divi...

Q. Show procedure of divide the decimal number by 2? For this procedure (method), divide the decimal number by 2, if the remainder is 0, on the side write down a 0. If the rema

Common-emitter configuration, Common-emitter configuration: The commo...

Common-emitter configuration: The common-emitter that is abbreviated as CE transistor configuration is displayed in figure.  The transistor terminal common to both the input

Pneumatic circuit diagram, FIGURE shows a pneumatic circuit diagram used fo...

FIGURE shows a pneumatic circuit diagram used for air supply and exhaust in an automatic control system.  (a) Name all symbols (including pipelines) used in the system. (b) N

Ac link chopper - power supplies , AC Link Chopper This copper  has two...

AC Link Chopper This copper  has two  stage conversion. First DC is converted into AC  by the  use of inverter. The  magnitude of AC voltage is  varied  by the  transformer and

Ujt as a relaxation oscillator , UJT as a  relaxation  oscillator Th...

UJT as a  relaxation  oscillator The UJT  is a highly  efficient  switch  it is  used as trigger  a device for SCR. No sinusoidal oscillators saw tooth generators phase contro

Estimate hortons infiltration equation , Show that the infiltration volume ...

Show that the infiltration volume estimated using Horton's infiltration equation between times t1 and t2 is given by; F =f c (t 2 -t 1 )+(f 1 -f c )(1-e -k(t2-t1) )/k Use the

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