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

Network theorems.., how to calculate voltage when 3 voltage sources are giv...

how to calculate voltage when 3 voltage sources are given?

Illustrate frequency-shift keying, Q. Illustrate Frequency-shift keying? ...

Q. Illustrate Frequency-shift keying? Digital transmission by FSK is a nonlinear modulation method that is appropriate for channels that lack the phase stability needed to perf

What is assembler, What is assembler? Assembler: An assembler or macr...

What is assembler? Assembler: An assembler or macro-assembler usually forms a part of the operating system. This translates an assembly language program into machine language

Connection of shunt capacitors at distribution transformer, Connection of ...

Connection of Shunt Capacitors at  Distribution Transformer Provision of capacitors at load point is found to be hard in practice because of the additional investments needed.

What is the purpose of carry flag and zero flag, What is the purpose of car...

What is the purpose of carry (c) flag and zero (z) flag? Carry flag conatins the carry after addition or borrow after subtraction. This carry flag also shows error conditions,

Armature winding - motor control , Armature Winding In this  winding t...

Armature Winding In this  winding the working  emf is induced by the working  flux. The current  which is  dependent on the load  called current.  The windings  that handle

One byte instructions , One byte Instructions One byte  instruction i...

One byte Instructions One byte  instruction include  both the opcode  operand in the  same byte. To identify  one byte  instruction one  must  observe followings  things .

Explain read-only memory, Q. Explain Read-only memory? ROM is nonvolati...

Q. Explain Read-only memory? ROM is nonvolatile (because it maintains its contents even when its power is shut off) and is used to store data and programs that do not change du

Determine the magnetic force on the current element, Q. Given ¯B = (y ¯ax -...

Q. Given ¯B = (y ¯ax - x ¯ay )/(x 2 + y 2 ) T, determine the magnetic force on the current element Id ¯l = 5 × 0.001¯a A located at (3,4,2).

Evaluate discrete-time signal, Consider the following signals, sketch each ...

Consider the following signals, sketch each one of them and comment on the periodic nature: (a) x(t) = A cos(2πf 0 t + θ), where A, f 0 , and θ are the amplitude, frequency, and

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