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

The time constant of the circuit, A 20µF capacitor is connected in series w...

A 20µF capacitor is connected in series with a 50 kΩ resistor and the circuit is connected to a 20 V, d.c. supply. Verify: a)  The initial value of the current flowing, b)  T

Ohms law, Normal 0 false false false EN-US X-NONE X...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Compute the speed, Athree-phase,wye-connected, 220-V, 10-hp, 60- Hz, six-po...

Athree-phase,wye-connected, 220-V, 10-hp, 60- Hz, six-pole inductionmotor (using Figure 13.2.6 for notation) has the following parameters in ohms per phase referred to the stator:

#kinetic energy, how does the increase in the kinetic energy of a proton co...

how does the increase in the kinetic energy of a proton compare with the increase in kinetic energy of the alpha particle in part?

Properties of p-n junction, Properties of a p-n junction The p-n junct...

Properties of a p-n junction The p-n junction possesses several interesting properties that have helpful applications in modern electronics. A p-doped semiconductor is compara

What does eu do?, Basically,8086 is separated into two part. 1. BIU. 2. EU ...

Basically,8086 is separated into two part. 1. BIU. 2. EU Execution Unit(EU)Fetch the instruction from Queue(memory(6 byte) in BIU.) and implement it.

How to calculate new current and terminal voltage?, Q. Series generator hav...

Q. Series generator having a combined armature and field resistance of 0.4? is running at 1000 r.p.m. and delivering 5.5kw at terminal voltage of 110 V. If the speed is raised to 1

CRO, draw a labled diagram of CRO and explain the function of its parts

draw a labled diagram of CRO and explain the function of its parts

Thermal Transducers, what is the working of thermal transducers?

what is the working of thermal transducers?

14. What is a vector impedance meter? State its application., What is a vec...

What is a vector impedance meter? State its application.

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