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

You have been asked to help on the design of CDU's new electric vehicle. The vehicle is to be powered by a 96V, 300A battery pack and you need to decide on the maximum length you c

Q. Explain common collector configuration? It is called the common-collector configuration because (ignoring the power supply battery) both the signal source and the load share

Ionic Bonding Instance: NaCl. Na (Z = 11) gives up the outermost shell electron of it to Cl (Z=17) atom, so the crystal is build up of ions with the electronic structure

Advantages of Expert System The system, once set up, requires to be tested employing data with known outcomes to see if it functions correctly. If it's being used to diagnos

Q. Explain basic working of Transport Layer? It is responsible for establishing a network independent communication path appropriate for the specific terminal equipments (for exa

We can illustrate the direction and strength of a magnetic field by means of drawing 'flux lines'. These have arrows to show the direction of the magnetic field at any point and th

Design a DC motor control system to run the 48V DC motor at 40rpm up to max load of the motor. You are responsible for designing the control of a 24V supply along with the speed s

Q. Show Benefits of digital systems? Ever since most digital systems have only two possible states, there is high degree of accuracy in the transmission of data. With an analog

What is the position of the Stack Pointer after the POP instruction? Ans) The address line is 02 greater than the previous value.