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

Determine the range of the step size, 1. (a) Consider a sinusoidal signal m...

1. (a) Consider a sinusoidal signal m(t) = A cos(2 Π f m t) applied to a delta modulator with step size . Determine the range of the step size so that slope overload will be avoide

What do you mean by most and least significant digits, Q. What do you mean ...

Q. What do you mean by Most and least significant digits? The MSD (most significant digit) in a number is the digit which represents the largest part of the number. Therefore i

Design a controller, Linearize the swing equations around an equilibrium po...

Linearize the swing equations around an equilibrium point. Compute the transfer function from the input U to the output !. For which equilibria is the linearizes system stabl

Find the first-null bandwidth, An audiomessage is band-limited to 15 kHz, s...

An audiomessage is band-limited to 15 kHz, sampled at twice the Nyquist rate, and encoded by a 12-bit natural binary code that corresponds to Lb = 212 = 4096 levels, all of which s

Explain basic working of ideal operational amplifier, Q. Explain basic work...

Q. Explain basic working of Ideal operational amplifier? The operational amplifier, known also as op amp, consists of several transistors, diodes, capacitors, and resistors. It

Digital communication systems, Q. Digital communication systems? Today ...

Q. Digital communication systems? Today digital communication systems are in common use, carrying the bulk of our daily information transmission through a variety of communicat

Framework for indicators in electricity sector, Framework for Indicators in...

Framework for Indicators in Electricity Sector A framework has been developed and a set of core indicators for electricity Sector has been proposed. In the first example, mapp

Determine frequencies that is in the spectrum analyze, Two sine waves along...

Two sine waves along with periods of 10 ms and 30 ms are added to generate a single waveform. A spectrum analyzer is utilized to examine the frequency contents of the waveform. Wha

What is piconet, A collection of devices connected by Bluetooth technology ...

A collection of devices connected by Bluetooth technology in an ad hoc fashion.

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