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 current gain, A JFET for which V A = 80 V, V P = 4 V, and I...

A JFET for which V A = 80 V, V P = 4 V, and I DSS = 10 mA has a quiescent drain current of 3 mA when used as a common-source amplifier for which R D = R SS = 1k and R L = 3k

Automatic frequency control , Discuss the requirement for automatic gain co...

Discuss the requirement for automatic gain control in AM receiver and automatic frequency control in FM. How are these 'control' voltage formed and used?

CST162_hw5, Draw the state diagram for the state machine described by Table...

Draw the state diagram for the state machine described by Table 7.5 in the text. Note, the table shows the transition to the next state S* from the current state S for the next set

How to get solution in taxation assignment help, i need help with taxation ...

i need help with taxation assignment help, how do i get solution for it?

Higher order address bus - pins and signals , Higher order  Address Bus ...

Higher order  Address Bus The 8085 microprocessor  has 8 pins  dedicated to higher order address A15 - A8. These pins  are used to connect  higher  order address bus. These  p

Dielectric heating - stepper motor , Dielectric Heating Dielectric  l...

Dielectric Heating Dielectric  losses  occur in  insulating materials. These are same  as hysteresis losses  in magnetic materials. When  an alternating  electric  field  is a

Explain various functions of telephone switching systems, Q. Explain variou...

Q. Explain various functions of telephone switching systems. Ans: Functions of telephone switching systems are: (i)  Attending: The system should be continually monito

Express the storedmagnetic energy, A relay is essentially an electromechani...

A relay is essentially an electromechanical switch that opens and closes electrical contacts. A simplified relay is represented in Figure. It is required to keep the fenomagnetic p

Determine the capacitor voltage, Q. In an RLC series circuit excited by a v...

Q. In an RLC series circuit excited by a voltage source v(t), for R = 10 , L = 1 H, and C = 0.1F, determine v(t) if the capacitor voltage vC(t) = 5e -10t V.

Compute efficiency of transformer in power factor lagging, Q. A 10-kVA, 200...

Q. A 10-kVA, 200:400-V, single-phase transformer gave these test results: • Open-circuit test (LVwinding supplied): 200V, 3.2 A, 450 W • Short-circuit test (HV winding suppli

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