Example of binary subtraction - positive number , Electrical Engineering

Assignment Help:

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)

 


Related Discussions:- Example of binary subtraction - positive number

Define the time constant of the circuit, A coil of inductance 0.04 H and re...

A coil of inductance 0.04 H and resistance 10? is connected to a 120 V, d.c. supply. Verify (a)  The final value of current     (b)  The time constant of the circuit (c)

Explain the procedure for design of sequential circuits, Explain the Proced...

Explain the Procedure for design of Sequential Circuits? The design of the synchronous sequential circuit starts from a set of specifications and culminates in a logic diagram

Determine the equivalent winding resistance, Determine the equivalent windi...

Determine the equivalent winding resistance: A 50 kVA, 2200/110 V, 50 HZ' transformer contain an HV winding resistance of 0.15 Ω and a leakage reactance of 0.45 Ω. The LV wind

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

What are the disadvantages of using robots, What are the Disadvantages of u...

What are the Disadvantages of using robots -  They can find it difficult to deal with 'unusual' circumstances for example a door is missing from a car waiting on the paint spra

Air gaps, What is the main thing to look for in calculations of air gaps?

What is the main thing to look for in calculations of air gaps?

Fourier deries, how to compute the fourier series expansion of a rectangula...

how to compute the fourier series expansion of a rectangular pulse train

Describe the phasor equations, Q. Describe the following phasor equations r...

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,

Power semiconductor devices , Normal 0 false false false ...

Normal 0 false false false EN-IN X-NONE X-NONE

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd