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

FRACTIONAL PID TUING USING GA FOR LOAD FREQUENCY CONTROL, Iam doing my proj...

Iam doing my project on LFC using tuned FOPID.I have considered a two area model..I need help regarding my project.i need help regarding implementation of GA MATLAB code for a two

Determine the laplace transform of the waveform, Q. Determine the Laplace t...

Q. Determine the Laplace transform of the waveform shown in Figure.

Objective of long-term plans for technical loss reduction, Objective of Lon...

Objective of Long-Term Plans for Technical Loss Reduction The primary objectives of strengthening and improvement of sub-transmission and distribution system in the long-term

Develop the equivalent circuits, (a) contains a freewheeling diode Dm, comm...

(a) contains a freewheeling diode Dm, commonly connected across an inductive load to provide a path for the current in the inductive load when the switch S is opened after time t (

Explain by using a circuit diagram a darlington pair, Q. Explain by using a...

Q. Explain by using a circuit diagram, a ‘Darlington Pair'. Mention its advantages? THE DARLINGTON PAIR : This is a very special way of direct coupling of two transistors. The

Show the r’s complement, Q. Show the r’s Complement? Step1- get the (r-...

Q. Show the r’s Complement? Step1- get the (r-1)'s complement Step 2- add 1 to the result ex.            935 10                                     9 9 9

Give example for non-maskable interrupts, Trap is called as Non-Maskable in...

Trap is called as Non-Maskable interrupts, which is used in emergency condition.

State value of current flowing in the winding, The winding of an electromag...

The winding of an electromagnet has an inductance of 3H and a resistance of 15?. When it is connected to a 120 V d.c. supply, Determine: (a)  the steady state value of current f

Determine the full load voltage regulation, A 25KVA, 3 phase, wye-connected...

A 25KVA, 3 phase, wye-connected, 400v synchronous generator has a synchronous impedance of 0.05 +j1.6 ohms per phase. Determine the full load voltage regulation at (a) 0.8 power

Dc machines, a 400V 4-pole DC generator takes an armature current of 50A wh...

a 400V 4-pole DC generator takes an armature current of 50A when rotating at 626 rpm. the armature circuit resistance is 0,25ohms. determine the generated emf. DOC

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