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 the steady state position error, Figure shows the block diagram o...

Figure shows the block diagram of an aircraft pitch stabilization system which uses position, velocity and acceleration feedback. i) Show that for a unit step input the steady s

Conductors for lines, Conductors for Lines The sizing of conductor mus...

Conductors for Lines The sizing of conductor must depend upon the load it is expected to serve and other factors, such as capacity required in future. Or else conductors/cable

Quality of supply and services - power distribution, Quality of Supply and...

Quality of Supply and Services  - Power Distribution For effectual management and performance improvement it is essential to measure the several defined parameters of the proc

Types of high voltage distribution system, Types of High Voltage Distributi...

Types of High Voltage Distribution System A High Voltage Distribution System could be of the subsequent types: - Three phase Extension HT line from the primary substation a

Define series var compensation, Define Series VAr Compensation? For ver...

Define Series VAr Compensation? For very long transmission lines, the inductive reactance of the line becomes so high that not much power can be transmitted through the line, s

Handshaking receiver system, You should document each step of each iteratio...

You should document each step of each iteration of your design. 1. You should include the following items from your preparation. a. A state diagram of the handshaking receive

Show common emitter output characteristics, Q. A Silicon Transistor Whose C...

Q. A Silicon Transistor Whose Common Emitter Output Characteristics Are Shown  In Dig Is Used In The Circuit With V cc =22.5v, R c =5.6k, R e =1k, R 2 =10k, And R 1 =90

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