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

Describe the design procedure of oai 321 cell at transistor, Obtain express...

Obtain expressions for the drain source current in an n-channel MOS transistor in terms of terminal voltages and transistor parameters. Indicate reasons why, for deep sub micron t

Mould casting, Mould Casting: Plaster Moulding : In this method, the...

Mould Casting: Plaster Moulding : In this method, the mould is prepared in gypsum or plaster of paris. In practice, the plaster of paris is mixed with tale, asbestos, fibers

Evaluate the straight-line and actual gain response, Q. Consider the circui...

Q. Consider the circuit shown in Figure in the time domain aswell as in the s-domain. Its transfer function V 2 (s)/V 1 (s) can be shown to be  which is a second-order bandpass tra

Game theory, an example and code for bargaining problem

an example and code for bargaining problem

Customer indexing, Customer Indexing: Customer indexing (CI) is a meth...

Customer Indexing: Customer indexing (CI) is a method for enumerating the total number of consumers in a utility and tagging them to their respective poles, transformers and f

Calculate the voltages that will be indicated by instrument, An electromech...

An electromechanical voltmeter with internal resistance of 1 k and an electronic voltmeter with internal resistance of 10 M are used separately to measure the potential differenc

Logically and the contents of register, Logically AND  the contents of Reg...

Logically AND  the contents of Register Contents of  register are logically AND with the accumulator bit wise. The result  of the AND  operation is  stored  in the accumulat

Configured the dual processor architecture, Configured dual processor archi...

Configured dual processor architecture  In centralized SPC, dual processor architecture can be configured to operate in following one of three modes: 1.  Standby mode: In

What are the kinds of transformations, What are the kinds of transformation...

What are the kinds of transformations? Illustrate each with the help of homogeneous matrix form in 3-D.

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