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
Explain Information Obtained for the Load Flow Analysis (i)  Magnitude and phase angle of the voltage at each bus. (ii)  Active and Reactive power flow in each line. (iii

Draw the hysteresis loop for a soft magnetic material and compare it with the hysteresis loop of hard magnetic material. Give two examples of each. Soft and hard magnetic mate

Q. Find idealized expressions for the active and ohmic states and sketch the universal characteristics of an n-channel enhancement MOSFET operated below breakdown.

Q. A coil is formed by connecting 15 conducting loops, or turns, in series. Each loop has length l = 2.5 m and width w = 10 cm. The 15-turn coil is rotated at a constant speed of 3

Circuits Typical  electronics circuits  are created  out  of a basis  set of primitive elements such  as capacitors, voltage sources,  resistors,  transistors and inductors. T

Particles of mass M and m separated in space by a distance R exert a mutually attractive gravitational force F on one another given by where G is the universal gravitationa

What are program-invisible registers? The local and global descriptor tables are determined into the memory system. So as to access and give the address of these tables, the pr

What is the difference between a hybrid pi and an re model?

What is RXD? RXD- Receive Data Input This input pin of 8251A gets a composite stream of the data to be received by 8251A.

(a) Describe the four functions of the physical layer in the Internet Model. (b) (i) With the help of a diagram describe the main stages involved in the digitization of a