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 cpi load latency, Question: (a) Describe the following te...

Question: (a) Describe the following terminologies: i. Branch ii. Branch Prediction iii. Branch Predictor iv. Branch Misprediction (b) Consider that 15% of instructi

Determine the resulting waveform, Two pure sine waves have similar amplitud...

Two pure sine waves have similar amplitude "A" and frequency "f." They are out of phase through 180 degrees. If these two signals are added, the resulting waveform will be:

Managing a Professional Engineering Project, Design a solar powered electri...

Design a solar powered electric vehicle charging station in a liquid gas station

Dc motor, Why rhehostat is not used in the field of dc series motor

Why rhehostat is not used in the field of dc series motor

Explain amplitude-shift keying, Q. Explain Amplitude-shift keying? A ca...

Q. Explain Amplitude-shift keying? A carrier's amplitude is keyed between two levels (binary 1 and 0) in binary ASK. Figure shows the functions of a coherent ASK communication

Level4, What are the three modes of operation of rotating machines

What are the three modes of operation of rotating machines

High level language - third generation language , High Level Language ( thi...

High Level Language ( third Generation Language ) The difficulties of low  level  languages are overcome  by high  level languages. In  assembly  language  mnemonics  were used

Dc circuits, Dc Circuits: In this unit, you have learned about methods...

Dc Circuits: In this unit, you have learned about methods of network analysis which are general in nature such as KCL, KVL, Nodal and Mesh analysis. These general methods may

Explain role/purpose of dummy coils in dc machine winding., Dummy coils : ...

Dummy coils : These coils are used with wave winding and resorted to when the requirement of the winding are not met by the standard armature punching available in armature win

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