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
Experiment • Wire the circuit shown in Figure. Connect the three oscilloscope channels as shown in Figure. • Select the sinusoidal waveform. Adjust the frequency of the input volt

Assembly Languages  ( Second Generation Language) To overcome  the difficulty of machine  language assembly  language  was  designed. After  facing the  difficulty of machine

Design a mod-15 counter. Explain the various steps in designing the counter

find the resultant of two forces 20N and25N acting at an angle 60 degree each other

Actuators These devices convert electromagnetic energy to mechanical energy to produce intermittent mechanical movement (e.g. opening a valve in a central heating system or c

single phase voltage source inverter complete circuit

Q. What is a clamper? Differentiate between a clamper and clipper. Clamping network shifts (clamps) a signal to a different dc level, i.e. it introduces a dc level to an ac sig

Q. What is Stored Program Control ? Stored Program Control:Modern digital computers use stored programmed concept. Here, a program or a set of instructions to the computer is s

Determine the voltage across the 20- resistor in the following circuit of Figure (a) with the application of superposition.

Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4= 8, I5= 7. Determine: Ieq, Req, and V3.