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. Describe the following phasor equations represented in the time domain: (a) ¯ E = K1e-¯ γz (b) ¯ E = K2e ¯ γz where z is the space coordinate, K1 and K2 are constants,

Q. Figure can also be considered as a simple model of a magnetically operated relay that is commonly used for the automatic control and protection of electric equipment. Consider t

Two sine waves along with periods of 10 ms and 30 ms are added to generate a single waveform. A spectrum analyzer is utilized to examine the frequency contents of the waveform. Wha

READY Input Microprocessor  has to communicate with other  peripherals which  are slow  as compared to the microprocessor. READY  signals  is used to synchronies  these periphe

Illustrates about the power dissipation management in embedded system? Power Dissipation Management a. Clever real-time programming through Wait and Stop instructions b.

why very high resistance wire is used is field windind and low resistance wire is used in armature winding in DC shunt machine?

Q. Explain Current-to-Voltage Amplifier? The basic circuit is shown in Figure, which is similar to that of an inverting amplifier. The - input is connected directly to a curren

Discuss the advantages and disadvantages of aluminium as compared to copper as a conductor of electricity. Advantages: Aluminium as a conductor of electricity as compared co

Q. Explain polyphase induction motor? The polyphase induction motor operates with polyphase alternating current applied to the primary winding, usually located on the stator of

how to design colpitts oscillator?