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

Mechanism of metal removal in electrochemical machining, What is the proces...

What is the process of metal removal in electrochemical machining? What are the basic functions of electrolyte in ECM? Illustrate the following key terms in electrochemical mach

How single stepping can be done in 8086, How single stepping can be done in...

How single stepping can be done in 8086? By setting the Trace Flag (TF) the 8086 goes to single-step mode. In this mode, after the implementation of every instruction s 8086 ge

Externally initiated signals - pins and signals , Externally  Initiated Si...

Externally  Initiated Signals Other than  interrupt  there are followings externally initiated  signals  available in 8085 microprocessor.

Describe the automated flow lines, Describe the Automated flow lines with s...

Describe the Automated flow lines with suitable diagrams? Also provide the Reason for Automating? Discuss the Work part Transfer Mechanisms in detail? Discuss the requirement fo

Shocly equation, I need to prove of shockly diode equation

I need to prove of shockly diode equation

What is enhancement mosfets, Q. What is Enhancement MOSFETS? Figure ill...

Q. What is Enhancement MOSFETS? Figure illustrates the cross-sectional structure of an n-channel enhancement MOSFET and its symbol showing as a normally off device when used fo

Explain indexed addressing in 8051, Probelm: (a) Explain indexed addre...

Probelm: (a) Explain indexed addressing in 8051. (b) How does the 8051 distinguish between a byte address and a bit address? (c) How do open-loop and closed loop appli

How clock signal is generated in 8086, How clock signal is generated in 808...

How clock signal is generated in 8086?what is the maximum internal clock frequency of 8086? Clock input 33% square wave from external clock generator .the external clock genera

Examples of attribute data relevant for a power utility, Examples of attrib...

Examples of attribute data relevant for a power utility: Examples of attribute data relevant for a power utility are given below. •          Consumer data such as categor

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