Example of binary subtraction - positive number , Electrical Engineering

Assignment Help:

Example  of binary  subtraction - positive number

Case 1.  Positive  number is more than negative number ( i e, answer is positive)

 Example   subtract  4510 ( 1011012 ) form 9210 ( 10111002.

 Solution: write  both numbers  is in 8 bit  form

01011100                                                                   9210

-00101101                                                                  -4510

1 s complement  of the negative number  =              11010010

Add 1                                                                                 1

2 s complement of the negative number =                11010011

This will represent -4510 in microprocessor                

Adding 2 s complement  of the  negative  number with the  first (positive ) number

      01011100 (9210)

      +11010011( -4510)

 Carry   00101111( +4710)

 Ignoring carry the  answer is  + 0010 11112 ( +4710)

 


Related Discussions:- Example of binary subtraction - positive number

Define magnetic field, Define Magnetic field The area around a magnet i...

Define Magnetic field The area around a magnet is known as the magnetic field and it is in this area that the effects of the magnetic force formed by the magnet can be detected

Show the procedure twos complement subtraction, Q. Show the procedure twos ...

Q. Show the procedure twos complement subtraction? Two's complement subtraction is the binary addition of the minuend to the 2's complement of the subtrahend (adding a negative

What is the direction of a line of flux, What is the Direction of a line of...

What is the Direction of a line of flux The direction of a line of flux is from the north pole to the south pole on the exterior of the magnet and is then supposed to continue

Determine the form factor and peak factor, Determine the form factor and pe...

Determine the form factor and peak factor: Determine the form factor and peak factor for the above half rectified wave. Solution From the above example, I rms   =

Differentiate between n and p type semiconductors, Differentiate between n ...

Differentiate between n and p type semiconductors. n - Type semiconductor:- (i) If small amount of pentavalent impurity is added with, to a pure semiconductor giving a la

Transient behavior of a control system, Q. Transient behavior of a control ...

Q. Transient behavior of a control system? The transient portion of the time response of a stable control system is that part which goes to zero as time increases and becomes s

Analogy between electrical and nonelectric physical systems, Systems such a...

Systems such as those encountered in mechanics, thermodynamics, and hydraulics can be represented by analogous electric networks, from the response of which the system characterist

Compute the worst voltage regulation, Q. The following data were obtained o...

Q. The following data were obtained on a 25- kVA, 2400:240-V, 60-Hz, single-phase distribution transformer: • Open-circuit test with meters on LV side: 240 V, 3.2 A, 165 W •

Determine collector - emitter voltage and base current, Q. A transistor is ...

Q. A transistor is connected in common emitter configuration collector supply voltage Vcc is 10 volts load resistance Rl is 800ohm,voltage drop across load resistance is 0.8v and c

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