Binary subtraction , Electrical Engineering

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.

Posted Date: 4/3/2013 6:14:52 AM | Location : United States







Related Discussions:- Binary subtraction , Assignment Help, Ask Question on Binary subtraction , Get Answer, Expert's Help, Binary subtraction Discussions

Write discussion on Binary subtraction
Your posts are moderated
Related Questions
Askhigh precision linear amplifier question #Minimum 100 words accepted#

i am implementing a paper "on the chaotic behaviour of buck converter" a want to plot bifurcation diagram by using simulink blocks without using coding is it possible??

Explain modes of operation of programmable interval timer 8254. Mode 0 - Interrupt upon terminal count Mode 1 - Programmable one-shot Mode 2 - Rate Generator Mode 3 -

The no-load and blocked-rotor tests on a three phase, wye-connected induction motor yield the following results: • No-load test: line-to-line voltage 400 V, input power 1770 W,

project to write a program to simulate a dc motor on a matlab

This example is concerned with steady-state sinusoidal analysis by using mesh equations and MATLAB. Let us consider the circuit shown in Figure and find the input impedance at the

Q. What are the Display Devices? Display devices can be categorized as on/off indicators, numeric, alphanumeric, or graphical displays. They may also be classified as active an

Binary  Number Systems As mentioned  earlier this  number is used by  digital  systems like  microprocessor  and other  digital  circuits. This  number  systems  use only two

Q. Define Number Systems? A number system, in general, is an ordered set of symbols (digits) with relationships defined for addition, subtraction, multiplication, and division.

units of potential energy