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

Electrons and holes, E l e c t r ons and Holes For T> 0 K, t...

E l e c t r ons and Holes For T> 0 K, there would be some electrons in the otherwise empty conduction band, and some empty states in the otherwise filled valence ban

Dc machine dynamic performance, Calculate the following for a 2 hp and a 20...

Calculate the following for a 2 hp and a 20 hp dc machine, each rated for 500 rpm. Use data from the Study Plan 1 data sheet, including "hot" armature resistance value for all cal

Ac, power factor improvement

power factor improvement

Illustrate the construction and working of thermistor, Illustrate the const...

Illustrate the construction and working of:- (i) Pressure Thermometer (ii) Selective Radiation Pyrometer (iii) Thermistor (iv) Laws of Thermocouple

Evaluate the transfer function of the nested-loop system, Q. Determine the ...

Q. Determine the transfer function C(s)/R(s) of the nested-loop feedback system shown in Figure.

SOLID MENSURATION, the base of isosceles triangle and the altitude drawn fr...

the base of isosceles triangle and the altitude drawn from one of the congruent sides are equal to 18cm and 15cm, respectively. Find the lengths of the sides of the triangle.

Electro Chemistry, Construction and working of calomel electrode

Construction and working of calomel electrode

The resistance of an electrical conductor, The resistance of an electrical ...

The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

Determine the current needed in the coil to produce a flux, Q. Consider the...

Q. Consider the magnetic circuit shown in Figure. Assume the relative permeability of the magnetic material to be 1000 and the cross-sectional area to be the same throughout. Deter

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