What is the procedure of binary subtraction, Electrical Engineering

Assignment Help:

Q. What is the procedure of Binary Subtraction?

The Rules of Binary subtraction

  • 0 - 0 = 0
  • 0 - 1 = 1, and borrow 1 from the next more significant bit
  • 1 - 0 = 1
  • 1-1=0

For illustration,

a) 00100101 - 00010001 = 00010100                  0   borrows

  0  0  1 10  0  1  0  1    =    37(base 10)

- 0  0  0  1  0  0  0  1       =    17(base 10)

--------------------------------------------------------------------------------

  0  0  0  1  0  1  0  0    =    20(base 10)

 

b) 00110011 - 00010110 = 00011101              0 10  1   borrows

  0  0  1  1  0 10  1  1    =    51(base 10)

- 0  0  0  1  0  1  1  0       =    22(base 10)

--------------------------------------------------------------------------------

  0  0  0  1  1  1  0  1    =    29(base 10)


Related Discussions:- What is the procedure of binary subtraction

Add the contents of register - add instruction , Add the Contents of Regist...

Add the Contents of Register   This  instruction is used to add the contents  of register R with  the contents  of accumulator  and result  of operation is stored  in the accumu

Working of bootstrap sweep circuit, analysis and detail working of bootstra...

analysis and detail working of bootstrap sweep circuit

Mvi move immediate instruction , MVI Move Immediate  Instruction This...

MVI Move Immediate  Instruction This form  of the instruction is used to copy 8bit  data ( specified  in the  instruction )  directly  into the  register or memory  pointed by

The resistance of an 8 m length of the same wire, The resistance of a 5 m l...

The resistance of a 5 m length of wire is 600Ω.Determine: a)  the resistance of an 8 m length of the same wire, b)  the length of the same wire when the resistance is 420Ω

Explain the construction of power transformer, Q. Explain, with the aid of ...

Q. Explain, with the aid of diagrams, the following in relation to the construction of power transformers. Include the advantages and disadvantages in your description. a) Core

Ac generators - the alternator, In practice, it is usually better to wind t...

In practice, it is usually better to wind the field coils on the rotor and supply the field current to them via slip rings.  As the rotor turns, the changing magnetic field expe

EDC, why biasing of bjt transistor is essential?

why biasing of bjt transistor is essential?

Explain hexadecimal number system, Q. Explain Hexadecimal Number System? ...

Q. Explain Hexadecimal Number System? A Hexadecimal Number System: uses base 16 includes only the digits 0 through 9 and the letters A, B, C, D, E, and F In the Hexade

Earthing in electricity and gas hazards, Earthing : Any electrical applian...

Earthing : Any electrical appliance with a metal casing or with metal parts, likely to be touched by an operator is potentially dangerous. The danger is that an internal or extern

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