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

Draw the power triangle for each load, Q. Two balanced, wye-connected, thre...

Q. Two balanced, wye-connected, three-phase loads are in parallel across a balanced, three - phase 60- Hz, 208-Vsupply. The first load takes 12 kWat 0.6 power factor lagging, and t

Components of gis, Components of GIS: 1.  Software: GIS software gi...

Components of GIS: 1.  Software: GIS software gives the functions and tools required to store, analyze, and show geographical information. The key software elements are:

Cost and profitability - proposed kpis, Cost and Profitability - Proposed K...

Cost and Profitability - Proposed KPIs  KPI  UOM  Measures   RepresentativeStandards  Aggregate Technical &  Commercial L

Sketch the phasor diagram showing all the voltages, Q. A balanced wye-conne...

Q. A balanced wye-connected load with a per-phase impedance of 4 + j3  is supplied by a 173-V, 60-Hz three-phase source. (a) Find the line current, the power factor, the total

Amplifier and active filter design, Amplifier and Active Filter Design Usin...

Amplifier and Active Filter Design Using Operational Amplifier 1) The purpose of this assignment is to train you to do some simple circuit design using op-amp. The circuit tha

Necessary conditions to maintain sustained oscillation, Q. What are the nec...

Q. What are the necessary conditions to maintain sustained oscillation? The use of positive feedback that results in a feedback amplifier having closed-loop gain |Af| greater t

Control system, model reference adaptive controller for interacting coupled...

model reference adaptive controller for interacting coupled tank

Can you show the decimal to octal conversion, Q. Can you show the Decimal t...

Q. Can you show the Decimal to Octal Conversion? To convert decimal to octal is somewhat more difficult. The usual method to convert from decimal to octal is repeated division

Knowledge of science and engineering fundamentals, Knowledge of science and...

Knowledge of science and engineering fundamentals Knowledge of basic science and engineering fundamentals is necessary for engineers to develop solution to any complex problem

Mov instruction, MOV Instruction Op code  format  of MOV  instruction i...

MOV Instruction Op code  format  of MOV  instruction is as follows : Replace the  codes of destination register and source  register with code of  required  register from.

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