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

Semiconductors, Charge density I n a semiconductor

Charge density I n a semiconductor

Analyse the characteristics of a dc machine, Theoretical calculations T...

Theoretical calculations The characteristics of the d.c. machine you will be investigating are given on the last page of this part. Use 200V DC supply for both armature and fie

Jfet amplifier, i want to know the all the three jfet in present and future...

i want to know the all the three jfet in present and future use and desing for each component

Image gradient, Image gradient Write an m-file "grad.m" which computes ...

Image gradient Write an m-file "grad.m" which computes and displays gradient and orientation of an input image (use Gaussian derivatives). To compute Gaussian derivative in o

Breifly explain abrasive jet machining, Breifly explain abrasive jet machin...

Breifly explain abrasive jet machining in Briefly explain the following key terms in electrochemical machining (a) Electrolytes (b) ECM tooling techniques with suitable ex

Power and power distribution, design a single phase circuit from a supply p...

design a single phase circuit from a supply point to a load

Determine the armature current and power factor of the motor, A three-phase...

A three-phase, wye-connected, 2300-V, 60-Hz, round-rotor synchronous motor has a syn- chronous reactance of 2 per phase and negligible armature resistance. (a) If the motor tak

What is q-switching in laser, What is Q-switching in laser ? Give its appli...

What is Q-switching in laser ? Give its application. Discuss the elementary idea of mode locking. Generation of high power pulses There are three basic techniques to gene

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