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

Normal 0 false false false EN-IN X-NONE X-NONE

Find the resonant frequency: Find the resonant frequency ω0 (or f0) for the given series RLC circuit v = Vm sin ωt = 50 sin ωt Figure Also determine the expre

Q Using a combination of Uni-selectors and two motion selectors, draw a diagram of thousand line exchange and illustrate its working. Ans: The diagram for such an exchange i

Discuss in detail the several energy resources and their availability. How does a Rankine cycle differ from a modified Rankine cycle? Write down the mathematical expression of m

SIM Set Interrupt Mask Instruction This  instruction is used  to mask unmask 8085 interrupts and send  serial  output  data. The accumulator  is used to load the  require data

1.  Explain the construction and working of Calomel electrode 2.  Derive an expression for the electrode potential of a glass electrode. 3.  What are ion selective electrodes

Explain Register Direct and Indirect data addressing mode (with examples) available in microprocessors. Register Direct Modes and Register Indirect Modes: Does not giv

Determine Capacitance of capacitor: A 20 Ω resistor is connected in series with a coil, a capacitor and an ammeter across a 25 V variable frequency supply. While the frequency

The various flags are: - Sign flag,  Axillary flag, Zero flag, Parity flag, Carry flag.