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

Comparison of rs232c and rs422a standards, Explain explanatory notes on com...

Explain explanatory notes on comparison of RS232C and RS422A standards. Comparison of RS232C and RS422A standards: RS232C 1. Standard explained for asynchronous commu

Calculate the voltage, Qestions: a)  Draw the approximate equivalent ci...

Qestions: a)  Draw the approximate equivalent circuit for a single phase power transformer. Identify all circuit elements and briefly explain their physical relevance. b)  S

Sketch the inductor voltage and stored energy, (a) Consider a 5-µH inductor...

(a) Consider a 5-µH inductor to which a current source i(t) is attached, as shown in Figure (b). Sketch the inductor voltage and stored energy as a function of time. (b) Let a v

Core electron binding energies, Perform a Hartree-Fock geometry optimizatio...

Perform a Hartree-Fock geometry optimization calculation of butadiene using a minimal basis set. Repeat with the 6-311G(d,p) basis set, using the optimized minimal basis set geomet

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

Show demagnetizing effect of armature reaction, Q. A20-hp, 250-Vshuntmotor ...

Q. A20-hp, 250-Vshuntmotor has a total armature - circuit resistance of 0.25  and a field-circuit resistance of 200.At no load and rated voltage, the speed is 1200 r/min, and the

How DRAM is different from SRAM, How DRAM's are different from SRAM's?  Why...

How DRAM's are different from SRAM's?  Why DRAMs are said to employ address multiplexing? Dynamic RAM (DRAM) is fundamentally similar as SRAM, except that this retains data for

What do you mean by load factor, Q. What do you mean by Load factor? Th...

Q. What do you mean by Load factor? The two components of electric service are demand and energy. Demand is the maximum level of real power which the electric utility must supp

Find the line current after the addition of capacitor bank, Q. Find the lin...

Q. Find the line current after the addition of capacitor bank? A 60-Hz, three-phase motor draws 25 kVA at 0.707 lagging power factor from a 220-V source. It is desired to impro

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