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

Construction features of electron gun, Compare the application of CO 2 and...

Compare the application of CO 2 and Nd :YAG Laser for cutting operation. Define with a neat and clean diagram the construction features of ‘electron gun' used for preparing an

Crm framework, CRM Framework There exist several ways to view CRM fram...

CRM Framework There exist several ways to view CRM framework. Therefore, an operational strategic framework is more relevant to apply CRM in power/electricity business systems

Electrical circuits and systems, Electrical circuits and systems : Elec...

Electrical circuits and systems : Electrical systems allow energy to be conveniently delivered from the point of supply to the point of application - e.g. electric railways, ca

Explain multiplexing systems, Q. Explain Multiplexing Systems? A multip...

Q. Explain Multiplexing Systems? A multiplexing system is one in which two or more signals are transmitted jointly over the same transmission channel. There are two commonly us

Inductive coupling, advantages and disadvantages of inductive coupling

advantages and disadvantages of inductive coupling

Mutual inductance and coefficient of coupling, Mutual inductance and coeffi...

Mutual inductance and coefficient of coupling: The equivalent inductance of two series connected coil (with mutual inductance among them) is 0.8 or 0.2 Henry based on the rela

Determine the rotor speed, A four-pole, three-phase inductionmotor is energ...

A four-pole, three-phase inductionmotor is energized from a 60-Hz supply. It is running at a load condition for which the slip is 0.03. Determine: (a) The rotor speed in r/min.

Loops and subroutines, 1.....If viewing this through the Assignment tool, c...

1.....If viewing this through the Assignment tool, click the title above to go to the Submissions area. Introduction The purpose of this experiment is to examine the opera

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