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

Battery service provider system specification, The vehicle batteries shall ...

The vehicle batteries shall be owned by the battery service provider. The automobile battery shall be recyclable, environmentally friendly, and safe. The battery service pr

What is autotransformers, Q. What is Autotransformers? In contrast to a...

Q. What is Autotransformers? In contrast to a two-winding transformer, the autotransformer is a single-winding transformer having a tap brought out at an intermediate point. Th

Assignment, Hi, I got assignment to design a power electronic system Design...

Hi, I got assignment to design a power electronic system Design the circuit and select the appropriate components for that circuit to fulfil the requirements of the device. Regards

Determine the type of the semiconductor, Determine the Type of the Semicond...

Determine the Type of the Semiconductor An unknown semiconductor has E g =1.1 eV and N t =N v . lt is doped with 10 16 /cm 3 donor atoms. - (a) Determine the type of the s

How numbering plan is achieved in modern telephony, Q. How numbering plan i...

Q. How numbering plan is achieved in modern telephony? Ans: The purpose of numbering plan is to uniquely identify every subscriber connected to a telecommunication network.

What is meant by interrupt, What is meant by interrupt? Interrupt is an...

What is meant by interrupt? Interrupt is an external signal that causes a microprocessor to jump to a particular subroutine.

Determine the open-circuit output voltage, Q. Determine the open-circuit ou...

Q. Determine the open-circuit output voltage v o of the system shown in Figure as a function of the input voltage v i .

Explain 8259 pin diagram, Explain 8259 Pin Diagram. The 8259A adds 8 ve...

Explain 8259 Pin Diagram. The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one master 8259A and

Explain procedure to test the power line, Explain procedure to take shut do...

Explain procedure to take shut down and to test the power line before starting work? Ans: Study the circuit and find out the circuit breaker to be opened. Open and lock the c

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