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

Flip flops, if JK flip flop has 1600hz frequency .then what is the input fr...

if JK flip flop has 1600hz frequency .then what is the input frequency?

What are the various tones used in stronger telephony, Q. What are the vari...

Q. What are the various tones used in stronger telephony? When called party line is obtained, exchange control equipment transmits out the ringing current to telephone set of t

What does the eu do, Execution Unit receives program instruction codes and ...

Execution Unit receives program instruction codes and data from BIU, implements these instructions and store the result in general registers.

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.

Determine the voltage in given circuit, Q. In the circuit shown in Figure w...

Q. In the circuit shown in Figure with an ideal op amp, find v o as a function of v a and v b .

Dsp, what is circular convolution

what is circular convolution

Circuit of a common drain fet amplifier and explain, Q. Draw the circuit of...

Q. Draw the circuit of a common drain FET amplifier and explain. FET amplifier circuit The weak signal is applied between gate and source and amplified output is obtained

Torque-Speed Characteristics of 3-Phase Induction Motors, Torque-Speed Char...

Torque-Speed Characteristics of 3-Phase Induction Motors

What is pinch-off voltage, Q. What is Pinch - off voltage?  The reverse...

Q. What is Pinch - off voltage?  The reverse bias is relatively large near the source. As a result, the depletion region intrudes into the channel near the drain, and the effec

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

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