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

What is time switches, Q. What is Time Switches? Principle of a time sw...

Q. What is Time Switches? Principle of a time switch is displayed in Figure. It connects an incoming n channel PCM highway to an outgoing n channel PCM highway. As any incoming

Calculate the total power supplied to the divider circuit, There is often a...

There is often a need to produce more than one voltage from a single supply using a voltage divider. For example, the memory components of many personal computers require voltages

Instruction size , Instruction size As we  have seen already  that eac...

Instruction size As we  have seen already  that each instruction has two parts Opcode ( Operation  Code) Which  tells  the types  of operation  to be  performed .

State the features of washing machines, State the features of Washing machi...

State the features of Washing machines Microprocessor would be used to control the below features, for instance: - Water temperature -  Time for every cycle -  Wash cy

How you can convert a galvanometer to a voltmeter, To convert a galvanomete...

To convert a galvanometer to a voltmeter, you should add a: a) High resistance in series b) High resistance in parallel c) Low resistance in series d) Low resis

8085microprocessor architecture , Normal 0 false false fals...

Normal 0 false false false EN-IN X-NONE X-NONE 8085MICROPROCESSOR ARCHITECTURE

find the value of the slip and air gap power, The Thevenin equivalent circ...

The Thevenin equivalent circuit at the terminals of R2 / S for a 60 hz, 6 pole induction motor is shown below. a) Find the value of the slip for maximum torque and the maximum t

Jfet common source amplifier, Q. JFET Common Source Amplifier? The comm...

Q. JFET Common Source Amplifier? The common source configuration for a FET is similar to the common emitter bipolar transistor configuration, and is shown in figure. The common

A 450 ns eprom won''t work directly with a 5mhz 8088, A 450 ns EPROM won't ...

A 450 ns EPROM won't work directly with a 5MHz 8088.Why? Explain. While the 8088 is operated along with a 5 MHz clock, it permits 460 ns for the memory to access data. Due to t

Assignment, design single phase distribution circuit from a supply point to...

design single phase distribution circuit from a supply point to a load

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