Example of binary subtraction - positive number , Electrical Engineering

Assignment Help:

Example  of binary  subtraction - positive number

Case 1.  Positive  number is more than negative number ( i e, answer is positive)

 Example   subtract  4510 ( 1011012 ) form 9210 ( 10111002.

 Solution: write  both numbers  is in 8 bit  form

01011100                                                                   9210

-00101101                                                                  -4510

1 s complement  of the negative number  =              11010010

Add 1                                                                                 1

2 s complement of the negative number =                11010011

This will represent -4510 in microprocessor                

Adding 2 s complement  of the  negative  number with the  first (positive ) number

      01011100 (9210)

      +11010011( -4510)

 Carry   00101111( +4710)

 Ignoring carry the  answer is  + 0010 11112 ( +4710)

 


Related Discussions:- Example of binary subtraction - positive number

Compute the capacitance per unit length, Write a program implementing the c...

Write a program implementing the conjugate gradient method (un-preconditioned). Solve the matrix equation corresponding to a finite difference node-spacing, h = 0.02m in x and y di

Transformer, Why we provide the short circuit and open circuit test in tran...

Why we provide the short circuit and open circuit test in transformer

What is traffic intensity, Q. What is Traffic Intensity? Traffic Inten...

Q. What is Traffic Intensity? Traffic Intensity: Traffic load on a given network may be on local switching unit, interoffice trunk lines or other common subsystem. For analyti

determine the minimum dandwidth of the system - fsk and ask, 1. Data is to...

1. Data is to be transmitted using a modem at 9600 bps. Determine the minimum bandwidth of the system with the following modulation methods (a) FSK (b) ASK. Use the excess

Compute the smallest load resistance, Q. A practical voltage source is repr...

Q. A practical voltage source is represented by an ideal voltage source of 30 V along with a series internal source resistance of 1.2 . Compute the smallest load resistance that c

Determine the line-to-line voltage at the load terminal, Q. A balanced delt...

Q. A balanced delta-connected load has a per-phase impedance of 45 60° . It is connected to a three-phase, 208-V, 60-Hz supply by a three- phase feeder that has a per-phase impeda

Control systems, Hi, What is the time response for a closed loop transfer f...

Hi, What is the time response for a closed loop transfer function:H(s) = 10/(s^2 +s +1) to delta function input?

Dc machince, what ''s part of dcmotor or dc generator

what ''s part of dcmotor or dc generator

Mesh analysis, i am battling with mesh, node anaalysis, superposition, node...

i am battling with mesh, node anaalysis, superposition, node thevenin and norton equivalents

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