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
Signals in Noise: Let us now consider a weak information signal that is to be amplified by a noisy amplifier. The signal-to-noise ratio (SNR), usually expressed in decibels, be

Bivector Meter As it is clear from the name provided 'Bivector', it records kWh and kVAh consumption along with maximum demand on both or on any one as needed. The working pri

Give the examples of sinusoidal with two equations?


Explain the 8259 microprocessor. 8259: The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. This can be expanded to 64 interrupt requests with us

Why dummy coil is used in wave winding porpose of dc generator

Two single-phase 60-Hz sinusoidal-source generators (with negligible internal impedances) are supplying to a common load of 10 kW at 0.8 power factor lagging. The impedance of the

Time constant Time constant, defines as time for current achieve maximum (IM) if this maintain the early promotion rate current.

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

What are the main embedded system components? Main Embedded System Components a. Embeds hardware to provide computer as functionalities b. Embeds major application softw