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
A 9.1V zener diode has a nominal voltage fall at a test current of 28mA. The internal resistance of the zener diode is 5 ohms. Find the voltage drop across the zener diode at zener

Q. Use of N-channel JFET? Generally, N-channel JFETs are more commonly used than P-channel. With no voltage applied between gate and source, the channel is a wide-open path for

What is memory paging? The memory paging mechanism located inside the 80386 and above permits any physical memory location to be assigned to some linear address.

Construction and operation of jet: jet is a three terminal device one terminal capable of controlling the current between the other two. Basic construction of an n chann

Q. Describe the construction of a two stage RC coupled amplifier with diagram. A cascaded arrangement of common-emitter transistor stages is shown above. The output Y1 of

design using softwares (LEdit7, LTspice) the project has many aspects and I would like you to check them on the website with my personal password. in the project specifications (d

Earthing : Any electrical appliance with a metal casing or with metal parts, likely to be touched by an operator is potentially dangerous. The danger is that an internal or extern

Q. Write down Shockley's equation. What is its importance? I D = I DSS [1-(V GS /V P )]^2 Shockley's equation is used to plot transfer characteristics. The transfer charac

How do I connect a Capacitor on the machine if it has a start mechanism