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

MATLAB, Future scope on MATLAB in India

Future scope on MATLAB in India

Determine the fault current and the bus voltages, The one line diagram of a...

The one line diagram of a simple three-bus power system is shown in the figure below.  Each generator is represented by an emf behind the transient reactance.  All impedances are e

Draw and explain a monostable multivibrator, Q. Draw and explain a monostab...

Q. Draw and explain a monostable multivibrator ? The monostable configuration consists of two amplifier stages interconnected in such a manner as to possess one stable state. T

For zero flag - return instructions, For zero flag  RZ ( Return on Z...

For zero flag  RZ ( Return on Zero) and RNZ ( Return on no zero) Instructions RZ  returns from the subroutine to the  calling  program, if zero flag  is set  (Z= 1). The

Machine, function of a commutator in a DC motor

function of a commutator in a DC motor

Dcr decrement instruction , DCR  Decrement Instruction This instructi...

DCR  Decrement Instruction This instruction  is used to decrement  the contents of any  register or memory  location by one. There are two  formats.

Explain standby mode of operation in spc organization, Q. Explain Standby m...

Q. Explain Standby mode of operation in SPC organization? Standby mode of operation is the simplest of dual processor configuration operations. Generally one processor is activ

Find the initial current when switch is closed - capacitor, 1. In the circ...

1. In the circuit shown below, the capacitor initially has a voltage across it 4 Volts (at t = 0). a. Write down the expression for V C (t) when the switch is closed. b. Wr

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