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 the different instruction formats with examples The instruction set is grouped into the following formats One byte instruction MOV C,A Two byte instruction

Q. How do you modify the direction of rotation of a D.C. motor? Ans: The direction of rotation of DC motor will be changed either by changing the field winding connections o

SOL. Ramp Type VM: The operating principle of the ramp type DVM is based on the measurement of the time it takes for a linear ramp voltage to rise from 0 V to the level of the inp

Explain how a p-n junction functions as a rectifier

Simplest equivalent circuit topology using lumped elements: For each of the Smith chart traces below, sketch (at the right of each chart) the simplest equivalent circuit topol

1. In the circuit shown below, the capacitor initially has a voltage across it 4 Volts (at t = 0). a. Write down the expression for V C (t) when the switch is closed. b. Wr

Find Dispersion Relation for Free Electron Question: Find the dispersion relation for a free electron, and, thus, observe the relation between its rest mass and effective ma

Addition of trivalent impurity to a semiconductor creates many (A) Holes. (B) Free electrons. (C) Valance electrons. (D) Bound electrons. Ans: Addition o

Q. Linear and position invariant? Assume that the model illustrated below is linear and position invariant. Also the noise and the image are uncorrelated. Show that the powe

how does Proportional band affect the performance of control system?