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

Unconditional return, Unconditional Return RET Instruction: This  instr...

Unconditional Return RET Instruction: This  instruction is used to transfer the program sequence  from subroutine to the calling  program unconditionally. The instruction forma

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

8 bit data to memory - move immediate instruction , 8 bit  data to memory ...

8 bit  data to memory This form  of the  instruction is used to  copy 8 bit  data directly  to the memory  location pointed  by register pair HL.  The instruction  format is

Transfer characteristics of p-channel enhancement mosfet, Q. Explain the dr...

Q. Explain the drain and transfer characteristics of P-channel enhancement MOSFET. In p-channel enhancement MOSFET here is a n-type substrate and p doped regions under drain an

Formulate the s-domain nodal equations, Consider the circuit shown in Figur...

Consider the circuit shown in Figure in the t -domain as well as in the s-domain. Formulate the s-domain nodal equations and use MATLAB to solve for V A (s) and V B (s).

State thevenin'' s theorem, Thevenin' s Theorem Thevenins Theorem state...

Thevenin' s Theorem Thevenins Theorem states: "Any linear circuit containing several energy source and resistances can be replaced by just a Single Voltage in series with a

What do you mean by interference, Q. What do you mean by interference? ...

Q. What do you mean by interference? An information-bearing signal often becomes contaminated by externally generated interference and noise and/or by internally generated nois

Conductometry experiment, why conductance is not zero at end pont? reply as...

why conductance is not zero at end pont? reply as soon as possible.

Explain bandwidth and applications of rc coupled amplifier, Q. Explain the ...

Q. Explain the bandwidth for the curve and the applications of an RC coupled amplifier. Frequency response curve of an RC coupled amplifier was shown above(prev page). The cut

Give an account on the operation of the oupled amplifier, Q. Give an accoun...

Q. Give an account on the operation of the R-C coupled amplifie r. When a.c. signal is applied to the base of the first transistor, it appears in the amplified form across its c

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