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

What is the function of 8254 programmable interval timer, What is the funct...

What is the function of 8254 Programmable Interval Timer? 8253 or 8254 Timer Description and Initialization PTI that is programmable Interval Timer/Counter) 8253

Static rotor resistance control methods - motor control , Static Rotor Res...

Static Rotor Resistance Control Methods This method is used only for slip  ring induction motor in SRIM  3- phase  variable  resistor can be inserted in the rotor  circuit and

Calculate terminal voltage, A permanent magnet DC motor is being considered...

A permanent magnet DC motor is being considered for use as a drive motor for a vehicle. The motor is known to have the following properties No load speed @ 100 V = 2000 rpm torq

Give a short description of soft ferrites, Give a short description of soft...

Give a short description of soft ferrites . Soft ferrites and their applications: all non- metallic compounds are consisting of ferric oxide and one or two bivalent metal oxid

What is cd-rom, Compact Disc - Read Only Memory. A CD-ROM is any compact di...

Compact Disc - Read Only Memory. A CD-ROM is any compact disc which having computer data. These discs can store enormous amounts of data (up to 640 megabytes). If there is a large

Subtract registers and borrow from accumulator, Subtract Registers and Borr...

Subtract Registers and Borrow from Accumulator The  contents of the  register  and borrow  flag  are subtracted from   the contents of the accumulator and the  result is  store

What is a coprocessor, What is a coprocessor? It is a specially designe...

What is a coprocessor? It is a specially designed microprocessor which take care of mathematical calculations including integer and floating point data .it is intended to work

Find the per-phase impedance of the load, Q. The two-wattmeter method for m...

Q. The two-wattmeter method for measuring three-phase power is applied on a balanced wye-connected load, and the readings are given by W C = 836W and W A = 224 W If the system

Find the resistor values of rc, Apply the rule-of-thumb dc design presented...

Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s

Set up a table for a 4-to-10 line excess-3 decoding, Q. (a) Excess-3 cod...

Q. (a) Excess-3 code is a 4-bit binary code for the 10 decimal digits and is found useful in digital computer arithmetic. Each combination is found by adding 3 to the decimal nu

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