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

Show a block diagram for a bcd to excess-3 code converter, Q. A common requ...

Q. A common requirement is conversion from one digital code to another.Develop a table of the BCD code and the excess-3 code to be derived from it, for the decimal digits 0 to 9. S

Explain the suitability of aluminium, Explain the suitability of aluminium ...

Explain the suitability of aluminium  that is used as electrical conducting materials. Aluminium : Conductors are appropriate for ambient and very high temperature. Use of alu

Inductive coupling, #question. i want design of inductive coupling to trans...

#question. i want design of inductive coupling to transfer power @ 2 watt in air gap of 5mm radial distance..

Digital ecectronics, DISIGN A FENITE STATE MACHINE TO DETECT THE SEQUENCE 1...

DISIGN A FENITE STATE MACHINE TO DETECT THE SEQUENCE 10110

Show that the effective inductance of the two coils, Q. The self-inductance...

Q. The self-inductances of two coupled coils are L 11 and L 22 , and the mutual inductance between them is M. Show that the effective inductance of the two coils in series is give

What are the application specific instruction processors, What are the appl...

What are the application specific instruction processors? Single purpose processor or ASIP (Application Specific Instruction processor) a. Floating point Coprocessor and Gra

Determine the value of resistance, Determine the value of Resistance: ...

Determine the value of Resistance: Determine the value of R, so that the condition for resonance is fulfilled Figure Solution Admittance of first branch

Number systems, Number Systems Various number systems  are decimal ( us...

Number Systems Various number systems  are decimal ( used by human beings) binary ( used by digital  systems) octal  and hexadecimal (used to represent  binary numbers in small

Second Order Precesses, A second-order process with one pole at the origin ...

A second-order process with one pole at the origin has the transfer function 3/(s(2s + 1)) Find the output as a function of time, for a unit step input change. Sketch the expected

Electronics circuits 1, Explain and drive the expression for fixed bias and...

Explain and drive the expression for fixed bias and potential divider.

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