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 line voltage for the y- connected machine, A 3-phase, 16-pole syn...

A 3-phase, 16-pole synchronous machine is driven by a prime mover at a speed of 600-rpm with the stator open circuited. The rotor flux per pole is 0.025-Wb. Determine (a) the fr

Sketch the spectrum of a standard am signal, If the message has a spectrum ...

If the message has a spectrum where K and Wf are positive constants, sketch the spectrum of a standard AM signal that uses the message. Comment on the physical signi?cance

Compute the mutual inductance, Compute the mutual inductance: A long s...

Compute the mutual inductance: A long single layer solenoid has an effective diameter of 10 cm and it is wound with 1000 turns/m. There is a small concentrated coil with its p

What is ammeter, What is ammeter An ammeter is an instrument used to ca...

What is ammeter An ammeter is an instrument used to calculate current and must be connected in series with the circuit.

Mesh analysis, i am battling with mesh, node anaalysis, superposition, node...

i am battling with mesh, node anaalysis, superposition, node thevenin and norton equivalents

Determine power reflection coefficient at the input port, Determine power r...

Determine power reflection coefficient at the input port: For the MESFET equivalent circuit shown below, find S 11 and S 22 . Note that resistances associated with the voltag

Communication systems/theory, have 18 multiple choice questions i need answ...

have 18 multiple choice questions i need answered by 9am cst and will pay Need ASAP

Determine the shaft power output, Determine the shaft power output: A ...

Determine the shaft power output: A 6-pole, 50 Hz, 3-phase induction motor running on full load develops a useful torque of 180 Nm when the rotor emf frequency is 2 Hz. Determ

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