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

Programming, ELEC 132 COURSEWORK – ADC This work will be assessed based...

ELEC 132 COURSEWORK – ADC This work will be assessed based on program demonstration (during lab sessions) and design. You will also have to submit your c-source codes as word o

Demand meters, Demand Meters Demand meters measure volt-amperes (in kV...

Demand Meters Demand meters measure volt-amperes (in kVA), that merge both reactive (reflected) and actual (consumed) power. In its easiest form, a demand meter has a gauge wh

Seal management - meter field testing, Seal Management - Meter Field Testin...

Seal Management - Meter Field Testing For an effective seal management system it is necessary that: i) The  seals  used  are  tamper  proof,  that is they  cannot  be  remo

Find the hysteresis loss in watts, Q. A sample of iron having a volume of 2...

Q. A sample of iron having a volume of 20 cm is subjected to a magnetizing force varying sinusoidally at a frequency of 400 Hz. The area of the hysteresis loop is found to be 80 cm

What is the direction of a line of flux, What is the Direction of a line of...

What is the Direction of a line of flux The direction of a line of flux is from the north pole to the south pole on the exterior of the magnet and is then supposed to continue

Features hindering developing countries from growing faster, Q. Describe so...

Q. Describe some of the features hindering developing countries from growing faster. Answer: One of the features that are able to be hold developing countries from growing fas

Draw and explain a differential circuit, Q. Draw and explain a differential...

Q. Draw and explain a differential circuit A differentiator is a high pass RC circuit having a very small time constant. It is a circuit which gives an output voltage proportio

Find the capacitor voltage and current, Q. The energy stored in a 2-µF capa...

Q. The energy stored in a 2-µF capacitor is given by w c (t) = 9e -2t µJ for t ≥ 0. Find the capacitor voltage and current at t = 1s.

Load resistor , a) Include a Smoothing Capacitor to the Rectifier circuit a...

a) Include a Smoothing Capacitor to the Rectifier circuit and calculate the Output Voltage and Frequency b) Include a 47Ω Load Resistor and sketch the schematic diagram of the c

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