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

Slack running fit, Illustrate the conventional representations of the follo...

Illustrate the conventional representations of the following guide to the selection of Fits: (i) Slack Running Fit (ii) Loose Running Fit (iii) Easy Running Fit (iv) No

Installed in circuit board, Can we measure the resistor if it is installed ...

Can we measure the resistor if it is installed in circuit board? Ans) You can calculate a resistor in a circuit but the circuit will most likely affect the value read (general

Discuss endp assembler directive, Discuss the ENDP assembler directive ...

Discuss the ENDP assembler directive with example ENDP: It is stands for End Procedure, which informs assembler the end of a procedure. Within assembly language programm

Calculate the induced voltage, Q. A four-pole, lap-wound armature has 144 s...

Q. A four-pole, lap-wound armature has 144 slots with two coil sides per slot, each coil having two turns. If the flux per pole is 20 mWb and the armature rotates at 720 r/min, cal

Find the maximum frequency of an output sine wave, Find the maximum frequen...

Find the maximum frequency of an output sine wave which can be produced at an amplitude of 1.5 V if the op-amp slew rate is 0.5 V/µs.

Common source amplifier, Common Source Amplifier A common-source ampl...

Common Source Amplifier A common-source amplifier is one of three basic single-stage field-effect transistor abbreviated as FET amplifier topologies, commonly used as a volta

Transistor in the common base configuration, Draw the circuit of transistor...

Draw the circuit of transistor in the common base configuration. Draw the Active, saturation and cut-off region. List the characteristics of Ideal Op-Amp. Sketch the pin diagram

Electrical fundamentals, Electrical Fundamentals 1. An aircraft compan...

Electrical Fundamentals 1. An aircraft company has decided to replace the copper cables to the main aircraft generators onboard it's Boeing 747s with aluminium cables that are

Second generation 1954- 1964- history of computer , Second Generation ( 195...

Second Generation ( 1954- 1964) After the invention of semiconductor devices mainly transistors size of computer s was reduced a lot computing power increased reliability was

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