Example of binary subtraction - positive number , Electrical Engineering

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)

 

Posted Date: 4/3/2013 6:21:25 AM | Location : United States







Related Discussions:- Example of binary subtraction - positive number , Assignment Help, Ask Question on Example of binary subtraction - positive number , Get Answer, Expert's Help, Example of binary subtraction - positive number Discussions

Write discussion on Example of binary subtraction - positive number
Your posts are moderated
Related Questions
Q. Briefly explain about Wye-delta transformation? Certain network configurations cannot be reduced or simplified by series-parallel combinations alone. In some such cases wye-


Q. Illustrate BCD-to-decimal decoding with a 4-to- 16 decoder, and draw the corresponding truth table.

Turn off Time This is also known  as gate controlled  turn on  time. The time  interval between  a specified  point at the beginning  of the  gate pulse  and the  instant wh

Q. Sketch g m versus v GS for a JFET with I DSS = 10 mA, V P = 3V, V A = 100 V, and v DS = 10 V. See what happens if V A →∞. Also sketch r o versus v GS .

Q. What do you mean by Magnetic circuits? A magnetic circuit provides a path for magnetic flux, just as an electric circuit provides a path for electric current.Magnetic circui

i. Each computer related to the public internet has a unique Internet Protocol address caleed as the IP address. The IP address is a 32-bit address. What is the maximum number of c


RE should be made large enough to swamp out rB/ B. how does making RE large saturate the transistor b

Q. For given asymptotic Bode plots. (a) Find ¯H 1 , ¯H 2 , and ¯H 3 at ω = 5 rad/s. (b) At what angular frequency ω is the magnitude of ¯H 4 (jω) one-half of the magnitude o