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

Determine the circuit of three transistors dynamic ram cell, a. Determine t...

a. Determine the circuit of three transistors dynamic RAM cell and define briefly read and write functions. b. Write short note on factors influencing choice of layer for wiring

Explain how memory paging is used for memory addressing, Explain how memory...

Explain how memory paging is used for memory addressing. The memory paging mechanism placed inside the 80386 and above permits any physical memory location to be assigned to se

What is electric field strength, Electric field strength: When two meta...

Electric field strength: When two metal plates are charged and divided in a certain distance, a potential difference will exists among the plates. A force was also generated

Semiconductor in equilibrium, Semiconductor  in Equilibrium Equilib...

Semiconductor  in Equilibrium Equilibrium in semiconductors implies the following: (i) Steady state: ∂Z / ∂t = 0 In which Z is any physical quantity like charge, volt

The operation of colpitts oscillator, Q. Explain with the help of a circuit...

Q. Explain with the help of a circuit diagram,the operation of COLPITTS OSCILLATOR. Oscillator is a circuit used to generate a.c voltage without a.c.input signal.The energy to

Power system model, #i have an error at in the Matlab power system model..t...

#i have an error at in the Matlab power system model..thus i couldn''t run it...

Carry flag - sub subtract instruction , Carry Flag CY is  reset  as e...

Carry Flag CY is  reset  as explained  above.  ( in chapter 1 we have  sen in the 2 complement  methods of subtraction that  the carry  is set  when the result is positive. He

Define the term assembler directives, Define the term assembler directives....

Define the term assembler directives. An assembler directive is a statement to provide direction to the assembler to perform the function of assembly process. The assembler di

Edc, transistor biasing stabilization problems

transistor biasing stabilization problems

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