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

Working of analog to digital converter, a) Write down a short note on compe...

a) Write down a short note on compensators. b) Classify filter with relevant sketches. c) Illustrate the principle and working of Analog to Digital converter.

Active-mode npn transistors in circuits, Active-mode NPN transistors in cir...

Active-mode NPN transistors in circuits Figure:  Structure and use of NPN transistor. Arrow according to schematic. The figure opposite is a schematic presentation

Meter field testing and installation practices, Meter Field Testing and Ins...

Meter Field Testing and Installation Practices Here, we discuss the installation, commissioning and field testing of meters. Energy Meters - Installation and Commissionin

Solar energy, can i use the direct solar energy from solar plate to charge ...

can i use the direct solar energy from solar plate to charge my laptop without a battery

Dc machine, why armature lamination notched in outer periphery

why armature lamination notched in outer periphery

Explain time-invariant versus time-varying systems, Q. Explain Time-invaria...

Q. Explain Time-invariant versus time-varying systems? When the parameters of a control systemare stationary with respect to time during the operation of the system, the system

Show the decimal to hex conversion, Q. Show the Decimal to Hex Conversion? ...

Q. Show the Decimal to Hex Conversion? To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16.

Role of gis in distribution reforms, Role of GIS in Distribution Reforms: ...

Role of GIS in Distribution Reforms: You will agree which distribution is the weakest link in the chain of power supply and has been identified as the key focus area in power

What is signal multiplexing, Q. What is Signal Multiplexing? Frequency-...

Q. What is Signal Multiplexing? Frequency-division multiplexing (FDM) and time-division multiplexing (TDM) systems. When data from many sources in time are interlaced, the inte

Transistors, What is the difference between a hybrid pi and an re model?

What is the difference between a hybrid pi and an re model?

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