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

Testing of ct operated meters, Testing of CT Operated Meters The subse...

Testing of CT Operated Meters The subsequent tests should be carried out for CT operated meters: i) Ratio test through primary injection kit, ii) Polarity test, iii)

What is meant by amplification, Q. What is meant by amplification? The ...

Q. What is meant by amplification? The basic amplifying elements are, namely valves (vacuum tubes), bipolar transistors and FETs. The term "amplify" basically means to make str

Find the effective area of a half-wave dipole, Q. The effective area of a d...

Q. The effective area of a dipole is given by A e =0.13λ 2 . Find the effective area of a half-wave dipole at 3 GHz.

How many bits are required, This problem concerns entropy There are hund...

This problem concerns entropy There are hundred students in a midterm exam. There are 5 grades and the number of students having each grade is shown below. At a min

Induction motor, principle and operation of 3phace induction motor

principle and operation of 3phace induction motor

Name 5 different addressing modes, The five addressing modes are given belo...

The five addressing modes are given below: Immediate, Register, Direct, Implied addressing modes           Register indirect,

Control system, I need some help for doing the assignment

I need some help for doing the assignment

Basic specifications of a ujt, The very basic specifications of a UJT are: ...

The very basic specifications of a UJT are: Vbb(max) - The maximum interbase voltage that can be applied to the UJT (b) Rbb-the interbase resistance of the UJT (c) n - The

Design the low-pass filter, Q. Design the low-pass filter shown in Figure (...

Q. Design the low-pass filter shown in Figure (by determining L) to have a half-power frequency of 10 kHz.

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