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 the decimal to hex conversion, Q. Show the Decimal to Hex Conversion? ...

Q. Show the Decimal to Hex Conversion? To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16.

Determine the equivalent inductance, Determine the equivalent inductance: ...

Determine the equivalent inductance: Two coils of inductances 4H and 6H are connected in parallel. If their mutual inductance is 3 H, determine the equivalent inductance of th

What is command, A selection form an application's menu, or a command typed...

A selection form an application's menu, or a command typed in by the user, like at a DOS prompt or at the Run dialog box in Windows.

What is program counter in 8085, Program counter holds the address of also ...

Program counter holds the address of also the first byte of the next instruction to be fetched for implementation or the address of the next byte of a multi byte instruction, which

The relationship between cell and batteries, The relationship between cell ...

The relationship between cell and batteries  Generally, a cell delivers a certain voltage that is a function of what chemical reactions are taking place to generate the voltage

Draw a state diagram of 3-bit ripple counter, The block diagram for a 3-bit...

The block diagram for a 3-bit ripple counter is shown in Figure (a). Obtain a state table for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.

8. A road 300 m long is required to be illuminated b, Ask questio8. A road ...

Ask questio8. A road 300 m long is required to be illuminated by providing 40W fluorescent lamps. The width of the road is 4m. Design a street lighting scheme for obtaining minimu

Calculate the monthly electric bill, Calculate the monthly electric bill fo...

Calculate the monthly electric bill for TESTU.  Metering is as follows: B 00,000 kWHr C 00,000   kVARHr D 0,000        kW  peak demand Facilities Charge = $500

Draw and explain the block diagram of dma controller, Draw and explain the ...

Draw and explain the block diagram of DMA controller. The fundamental idea of DMA is to transfer blocks of data directly between peripherals and memory. The data don't suffer t

Laser beam machining and electron beam melting, Differentiate between LBM a...

Differentiate between LBM and EBM process on the basis of application and limitations.

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