Representation of negative number, Electrical Engineering

Assignment Help:

Representation of Negative Number:

As  mentioned  in chapter 1 in 8085  negative  numbers are represented in 2 complement  form  and subtraction is  performed  using 2  complemented  method.  If the  result of subtraction is negative  it will also  be in 2 complement  form. But  D7 ( left most bit) is used  to indicate sign  of a number. If D7  is 0 the number  is positive  and if D7  is 1  the number is negative D7  is 1 for  2 complement of  all D7 bit  numbers.

Important : Generally  people  have misconnect that the  difference  between a positive  number and a  negative  number is only in  D7.  They assume that if  +5 10 is  written  in 8 bit  binary as 00001012 then -510  can be  written  as 10000102, which  is not  correct.

Refer followings  table  showing various  positive  and negative numbers to understand the concept  of negative  number as used  in microprocessors.

a.All negative numbers have 1 in  their left  most bit positions.

b.All negative  numbers are 2  complement  form  of their  corresponding  positive  numbers.

c. All negative  have their  equivalent positive  decimal number. It is up to the programmer  and the  application that whether  to use it as  negative or positive number.

d.If two numbers are added/ subtracted the  result will be as desired whether is a singed  or unsigned operation. See  followings  example.


Related Discussions:- Representation of negative number

Define the spectral resolution of satellite, Q. Define the spectral resolut...

Q. Define the spectral resolution of satellite? Spectral resolution : The sensitivity to different features of earth is the most important aspects considered in the spectral

Make a plot of the signal, In order to demonstrate aliasing, make a plot of...

In order to demonstrate aliasing, make a plot of the signal x(t) = 3 cos 2π10t - cos 2π30t which approximates a square wave with W = 30 Hz. If the sample points are taken at

Give the properties and application of cotton, Give the properties and appl...

Give the properties and application of cotton. Cotton : It is base material for insulating fibres. Properties: It can be enhanced by impregnating with varnish. 1)

Ohm, what is ohm?

what is ohm?

Forward bias, Forward bias In forward bias, the p-type is linked with...

Forward bias In forward bias, the p-type is linked with the positive terminal and the n-type is linked with the negative terminal.In forward bias mode the PN junction operati

Find the initial and final values of the armature current, A 10-hp, 230-V, ...

A 10-hp, 230-V, 500-r/min shunt motor, having a full-load armature current of 37 A, is started with a four-point starter. The resistance of the armature circuit, including the inte

Critical field circuit resistance and critical speed, Q.   Define and expla...

Q.   Define and explain the critical field circuit resistance and critical speed of a DC shunt generator.   Ans. The OCC and R - line for a DC shunt generator. As, R f is

The time for the capacitor voltage to fall to 20 v, A capacitor is charged ...

A capacitor is charged to 100 V and then discharged by a 50 kΩ resistor. If the time constant of the circuit is 0.8 s, verify: (a)  The value of the capacitor, (b)  The time

ECE, a problem solving problem

a problem solving problem

Applications of hall effect, Applications of Hall Effect: (i)  To dete...

Applications of Hall Effect: (i)  To determine whether semiconductor is of n type or p type. (ii) To determine carrier concentration. (iii) Measurement of carrier mobili

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