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

Direct addressing , Direct Addressing In this  addressing  mode one  o...

Direct Addressing In this  addressing  mode one  of the  operands is the  data stored  in the memory. The memory  address of the  operand is directly  given in the instruction

Ac link chopper - power supplies , AC Link Chopper This copper  has two...

AC Link Chopper This copper  has two  stage conversion. First DC is converted into AC  by the  use of inverter. The  magnitude of AC voltage is  varied  by the  transformer and

DC motor & encoder, If a high resolution emcoder is used for position contr...

If a high resolution emcoder is used for position control, will the number of pole count in the DC motor be matter? What is the requirement for the DC motor in order to work with h

Potentiometric type dvm, Potentiometric type DVM: A potentiometric type of...

Potentiometric type DVM: A potentiometric type of DVM, employs voltage comparison technique. In this DVM the unknown Voltage is compared with a reference voltage value is fixed by

Energy stored in a magnetic field , Energy stored in a magnetic field ...

Energy stored in a magnetic field Consider a circuit consisting of a voltage supply,  switch,  resistor  and  a  coil  of  N turns wound on a toroid of length l, all in series

Explain the importance of planning in an organisation, Question 1: Plan...

Question 1: Planning is one of the primary functions of management. (a) Explain the importance of planning in an organisation. (b) How can managers develop an effective a

What do you mean by retention of risk, Q. What do you mean by Retention of ...

Q. What do you mean by Retention of Risk? Retention of Risk: In case of this method, the organization voluntarily accepts the risk since either the risk is insignificant or its

Convert these numbers to their decimal values, Q. Consider the three BCD nu...

Q. Consider the three BCD numbers listed below. 0001 1000 0101 1000 0010 0001 0011 1000 0100 0011 0101 0101 a) Convert these numbers to their decimal values. b) Conv

Electrical Machines, Design a suitable double –layer lap winding for a 6-po...

Design a suitable double –layer lap winding for a 6-pole dc armature with 18 slots and two coil sides per slot. Give values of front-pitch, brack–pitch and commutator pitch. Draw t

Single phase full wave mid point type rectifier , Single Phase Full Wave M...

Single Phase Full Wave Mid Point Type  Rectifier A single  phase full wave  mid point  type controlled  rectifier consists  two  thyristors  one centre tapped  transformer  an

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