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

ERT, What are the applications for solar PV system? Explain one of the appl...

What are the applications for solar PV system? Explain one of the application with neat schematic diagram.

Determine the total energy ?owing into the component, Q. The voltage at ter...

Q. The voltage at terminal a relative to terminal b of an electric component is v(t) = 20 cos 120πt V. A current i(t) =-4 sin 120πt A ?ows into terminal a. From time t 1 to t 2 ,

Multiplexers and flip flops, Decoders and multiplexers are termed, medium s...

Decoders and multiplexers are termed, medium scale integration (MSI) devices; this term implies that the device is complex in construction and usually its operation as well. Below

Explain working of inverting summing amplifier, Q. Explain working of Inver...

Q. Explain working of Inverting Summing Amplifier? The circuit of Figure is extended by adding other input points, as shown in Figure. Because of the virtual ground at terminal

Explain virtual memory, Explain virtual memory. The term virtual memor...

Explain virtual memory. The term virtual memory considers as to something that appears to be present but in fact it is not. The virtual memory technique permits users to use m

Determine the capacitor voltage, Q. In an RLC series circuit excited by a v...

Q. In an RLC series circuit excited by a voltage source v(t), for R = 10 , L = 1 H, and C = 0.1F, determine v(t) if the capacitor voltage vC(t) = 5e -10t V.

Explain the basic concepts in memory interfacing, Explain the Basic concept...

Explain the Basic concepts in memory interfacing The primary function of memory interfacing is that the microprocessor should be able to read from and write into a given regist

Important function of common control subsystem, Q. Important function of co...

Q. Important function of common control subsystem? If a call is destined to a number in an exchange other than present one processing the digits, initial translator generates t

Working of field-effect transistors, Q. Working of Field-effect transistors...

Q. Working of Field-effect transistors? Field-effect transistors (FETs) may be classified as JFETs (junction field-effect transistors), depletion MOSFETs (metal-oxide-semicondu

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