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

Which impurity is added in n-type-semiconductor, In n type semi conductor a...

In n type semi conductor added impurity is (A) Pentavalent.                                (B) Divalent. (C) Tetravalent.                                 (D) Trivalent.

Cro, Diagram and explanation of cro

Diagram and explanation of cro

Create a time diagram - conveyer, When the PLC is in the RUN mode it will s...

When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously. This project is divided into four outcomes: (a)    Detect block on entry, close

Binary codes, what are the types of binary codes

what are the types of binary codes

Determine the voltage across resistor, Determine the voltage across the 20-...

Determine the voltage across the 20- resistor in the following circuit of Figure (a) with the application of superposition.

Give applications of emitter follower, Q. Give applications of emitter foll...

Q. Give applications of emitter follower The emitter follower has the following principal applications: 1. To provide current amplification with no voltage gain 2. Impede

Explain telephone hand set and it’s working, Q. Explain Telephone hand set ...

Q. Explain Telephone hand set and it’s working ? A standard telephone set is comprised of a transmitter, a receiver and electrical network for equalization, associated circ

Satellite Communication, ubmission Deadline: Wednesday, July 7, 2021 Assign...

ubmission Deadline: Wednesday, July 7, 2021 Assignment 2 EE5543 - Satellite Communication Question 1: MEASAT-1 is located at 91.5 o E and operating at the base frequency of 10.982

DC shunt generator, in DC series generator we consider Eg=V+Ia(Ra+Rse).But ...

in DC series generator we consider Eg=V+Ia(Ra+Rse).But in DC shunt generator why it is only Eg=V+IaRa and not Eg=V+Ia(Ra*Rsh/Ra+Rsh)

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