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

Cross section of nmos with channel formed: on state, Cross Section of NMOS ...

Cross Section of NMOS with Channel Formed: ON state A metal-oxide-semiconductor field-effect transistor (MOSFET) is based upon the modulation of charge concentration through a

Explain the function of the pins psen and ea of 8051, Explain the function ...

Explain the function of the pins PSEN and EA of 8051. PSEN: PSEN stands for program store enable. In 8051 based system in which an external ROM holds the program code, this pin

Aims of the tariff policy - electricity policies, Aims of the Tariff Policy...

Aims of the Tariff Policy - electricity policies: The aims of the National Tariff Policy are to: 1. Ensure availability of electricity to consumers at reasonable and compet

Classify the materials based on the energy bands, Classify the materials ba...

Classify the materials based on the energy bands and explain them. Classification of materials based on energy bands: With reference to various band structures demonstrate

What are the various flags used in 8085, The various flags are: - Sign flag...

The various flags are: - Sign flag,  Axillary flag, Zero flag, Parity flag, Carry flag.

Governer, governer characteristics

governer characteristics

Harmonics, how harmonics shows effect on power systems?

how harmonics shows effect on power systems?

Prepaid meters, Prepaid Meters Prepaid metering is a system whereby co...

Prepaid Meters Prepaid metering is a system whereby consumers purchase electricity by a smart card. The amount paid together along with other information is encoded in the sma

Determine the parameters of the double- revolving-field, Q. The no-load and...

Q. The no-load and blocked-rotor tests conducted on a 110-V, single-phase induction motor yield the following data: • No-load test: input voltage 110 V, input current 3.7 A, and

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