Representation of negative number, Electrical Engineering

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.

Posted Date: 4/4/2013 2:41:12 AM | Location : United States







Related Discussions:- Representation of negative number, Assignment Help, Ask Question on Representation of negative number, Get Answer, Expert's Help, Representation of negative number Discussions

Write discussion on Representation of negative number
Your posts are moderated
Related Questions
UniJunction Transistor: (abbreviated as UJT), also called the double base diode, is a 2 layer, 3 terminal solid state switching device. The device has a unique characteristi

what is compensation of bjt

Voltage regulator: A voltage regulator is an electrical regulator intended to automatically keep a constant voltage level. A voltage regulator is an instance of a negative fee

why we configure bjt using h parameter model

Q. What are the applications of JFET? · FET is used as a buffer in measuring instruments, receivers since it has high input impedance and low output impedance. · FET's are u

Q. What do you mean by Mantissa? The mantissa , as well known as the significand , represents the precision bits of the number. It is composed of an implied leading bit and t

compear copper and aluminum conductore in termes of price ,weight,resistance for equal length .


A battery having of 12 cells are divided in three group which each group having of four cells in series. The three groups are joined in parallel. The emf of every cell is 1.5V and

Q. Explain working of Bipolar junction transistors? The family of bipolar junction transistors has two members: the npn BJT and the pnp BJT. Both types contain semiconductor ju