Binary subtraction , Electrical Engineering

Assignment Help:

Binary Subtraction

Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  discuss only 2  compliment method  of subtraction in this book.

To find  2 compliment of any binary  number

Use followings  steps

Find 1 complement  of the given  binary  number convert all 0 to 1 and  all 1 to 0 s.

Add 1  to the obtained d1  complement number to get the 2 complement of the original number.

The  obtained  binary number will  be the  negative  of the given  number.

Example :  Find 2 complement  of 010110112.  ( equal to + 9110)

Solution : 1 complement  of the given number is:    10100100

    Add 1                                                                            1

The 2 complement  form of the number                  101000101

This  will represent  -9110 in microprocessor.


Related Discussions:- Binary subtraction

Evaluate the current flowing in the direction from b to a, Q. A beam contai...

Q. A beam containing two types of charged particles is moving from A to B. Particles of type I with charge +3q, and those of type II with charge -2q (where -q is the charge of an e

Explain loads - generation and absorption of reactive power, Explain Loads ...

Explain Loads - Generation and Absorption of Reactive Power A load at 0.95 power factor implies a reactive power demand of 0.33 kVAr per kW of power. When planning a network, i

Instrument, Differentiate between dual beam and dual trace oscilloscope

Differentiate between dual beam and dual trace oscilloscope

Crm triangle, CRM Triangle The following diagram which is called as CR...

CRM Triangle The following diagram which is called as CRM Triangle. Strategy refers to the whole stand taken through the company. It could selected a defensive posture in t

Perfect gases avogadro''s hypothesis, Equal volumes of all gases contain th...

Equal volumes of all gases contain the samenumber of molecules when the volumes are measured at the same p and T. Therefore for a given volume at the same p and T, with the same

Explain steady-state error of linear systems, Q. Explain Steady-State Error...

Q. Explain Steady-State Error of Linear Systems? If the steady-state response of the output does not agree exactly with the steady state of the input, the system is said to hav

Common-emitter configuration, Common-emitter configuration: The commo...

Common-emitter configuration: The common-emitter that is abbreviated as CE transistor configuration is displayed in figure.  The transistor terminal common to both the input

What do you mean by mantissa, Q. What do you mean by Mantissa? The man...

Q. What do you mean by Mantissa? The mantissa , as well known as the significand , represents the precision bits of the number. It is composed of an implied leading bit and t

Analysis on solar charging system buck converter with VMC, PLS WRITE THE IN...

PLS WRITE THE INTRODUCTION, METHODOLOGY AND LITERATURE REVIEW

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