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

Schmitt triggering, schmitt triggering with emitter coupled transister

schmitt triggering with emitter coupled transister

Explain ramp type dvm, SOL. Ramp Type VM: The operating principle of the r...

SOL. Ramp Type VM: The operating principle of the ramp type DVM is based on the measurement of the time it takes for a linear ramp voltage to rise from 0 V to the level of the inp

Digital system, 1- Use 4-to-16 decoder and some residue gates to recognize ...

1- Use 4-to-16 decoder and some residue gates to recognize the following functions F1(A,B,C)= S(1,2,4,5,7) F2(A,B,C,D)= S(1,2,4,5,7,10,12,14,15) F3(A,B,C,D,E)= S(1,2,4,5,7,10,12,1

C programming., #queComputers are frequently used in check-writing systems,...

#queComputers are frequently used in check-writing systems, such as payroll and accounts payable applications. Many stories circulate regarding weekly pay- checks being printed (by

Microcontroller, 1. Look at a method of creating AC from DC. 2. This may...

1. Look at a method of creating AC from DC. 2. This may involve a microcontroller. 3. Method must be able to synchronise your produced AC to local AC supply. 4. Look at po

Covalent bonding, Covalent Bonding Exhibited through the diamond la...

Covalent Bonding Exhibited through the diamond lattice semiconductors. Each atom enclosed by four nearest neighbors, each comprising four electrons in the outermost orbi

Explain about transistor amplifiers, Q. Explain about Transistor Amplifiers...

Q. Explain about Transistor Amplifiers? Amplifiers are circuits that produce an output signal which is larger than, but proportional to, an input signal. The input and output s

Power system, maxium capacity of genrators in practical use

maxium capacity of genrators in practical use

Explain the term full duplex transmission, Explain the term full duplex tra...

Explain the term full duplex transmission. Data can travel in both directions concurrently. There is no require to switch from transmit to receive mode as in half duplex. It's

Critical rate of rise of voltage - thyristor , Critical Rate of Rise of Vol...

Critical Rate of Rise of Voltage It  depends on  the junction temperature higher  the junction  temperature lower  the critical rate of  rise of  voltage. It is also known  as

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