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. Show the familiar electric sources? Batteries and ac outlets are the familiar electric sources. These are voltage sources.An ideal voltage source is one whose terminal volta

Q. We have discussed three different color spaces: RGB, HSI and CMY(K). Specify the need for multiple color spaces. Why can we not use only one? Q. A telescope in an observatory

A slight modification of the elevator algorithm for scheduling disk requests is to always scan in the same direction, In what respect is this modified algorithm better than the ele

Define Successive Approximation Digital to Analog Converter? Successive approximation ADCs transform analog signals to digital data by comparing the incoming analog signal alo

Draw a relay construction diagram and briefly explain the operation of a relay. Define the terms normally open and normally closed. Define the terms Set and Reset for relays.

3 Phase 4 Wire Meters 3-phase 4 wire meters (10/20, 20/50 A) are used for agricultural and industrial consumers. For loads up to 50 A, the meters are directly linked to the su

1- Φ Half Bridge Inverters 1-Φ bridge  inverter may be  of two  type 1-? half  bridge  and 1-? full  bridge  inverter. 1-? half bridge  inverter with resistive load to explain

PIVOT PIN MOVEMENT

Considering the TTL NAND gate circuit of Figure, with one or more inputs low, show that the output will be high.

Define Hysteresis Hysteresis is the 'lagging' effect of flux density B whenever there are changes in the magnetic field strength H. When an initially unmagnetized ferromagnetic