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

Resistance, factors affecting resistance

factors affecting resistance

Continuity equation - zero electric field, Continuity Equation: Expla...

Continuity Equation: Explain continuity equation and discus the special case of continuity equation when concentration is independent of time and with zero electric field.

What is the function of 8254 programmable interval timer, What is the funct...

What is the function of 8254 Programmable Interval Timer? 8253 or 8254 Timer Description and Initialization PTI that is programmable Interval Timer/Counter) 8253

Sketch the labelled frequency response, Question: (a) Consider the foll...

Question: (a) Consider the following RC admittance function: (i) If the function is to be realised using the Cauer II Form, find the values of the different components

Calculate the analog output voltag, For the 3-bit 2 n -R D/A converter of ...

For the 3-bit 2 n -R D/A converter of Figure, calculate the analog output voltage when the input is (a) 100, and (b) 010. Solution a. For the binary input 100, switches con

How speech is transmitted in digital switching environment, Q. How speech i...

Q. How speech is transmitted in digital switching environment by using PCM/TDM? Ans: A digital carrier system is a communications system which uses digital pulses instead of

Dc generators, How do i calculate critical resistance?

How do i calculate critical resistance?

Copy data byte 10h ldax instruction, Copy  data byte  10H LDAX  instruct...

Copy  data byte  10H LDAX  instruction Example : Copy  data byte  10H  stored at memory  location 3020 H to  the accumulator using  LDAX  instructions. Solution : To use

Emf, State and explain three factors upon which the induced electromotive f...

State and explain three factors upon which the induced electromotive force depends

Consider the circuit of the noninverting amplifier, (a) Consider the circui...

(a) Consider the circuit of the noninverting amplifier in Figure, including an ideal op amp. Obtain an expression for the voltage gain of the overall circuit. (b) Let R i = 10

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