Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/01/07 11:40
Read: times


 
#130294 - google is your best friend
Responding to: ???'s previous message
Sriram Sridharan said:
Is the LSB data that is outputted from the DS1620 a 2's complemented hexadecimal number, which i have to convert to 2's complemented binary and then to binary; or is it available as a 2's complemented binary directly?


back to basics...

Hexadecimal or binary are just representations of the same information.

for more info on 2's complement, use google.
Search in "2's complement" yields as first entry:

http://www.evergreen.edu/biophysic...s_comp.htm

from that page,

Property
Two's complement representation allows the use of binary arithmetic operations on signed integers, yielding the correct 2's complement results.
Positive Numbers
Positive 2's complement numbers are represented as the simple binary.
Negative Numbers
Negative 2's complement numbers are represented as the binary number that when added to a positive number of the same magnitude equals zero.

Unless it's freezing when you did the test, I assume the positive numbers case applies to you....

regards

List of 32 messages in thread
TopicAuthorDate
Problem with DS1620 and 8051!! Please Help!!            01/01/70 00:00      
   Re:Problem with DS1620 and 8051!! Please Help!!            01/01/70 00:00      
   does it work?            01/01/70 00:00      
      Re:Trivial issues..            01/01/70 00:00      
         ds1620 data sheet            01/01/70 00:00      
            Re: ds1620 data sheet            01/01/70 00:00      
               get the basics first.            01/01/70 00:00      
                  Basics - Data format            01/01/70 00:00      
                     Re: Basics            01/01/70 00:00      
                        Re: Basics            01/01/70 00:00      
                           google is your best friend            01/01/70 00:00      
                        No - see below            01/01/70 00:00      
                           RE:see below            01/01/70 00:00      
                              Table 3            01/01/70 00:00      
   DS1620 Data format            01/01/70 00:00      
      Re:DS1620 Data format            01/01/70 00:00      
   What Standard Program?            01/01/70 00:00      
      Standard Program            01/01/70 00:00      
         Clickable            01/01/70 00:00      
            newbie explanation            01/01/70 00:00      
               No, that's wrong            01/01/70 00:00      
               MCT            01/01/70 00:00      
            Have U got it right dude?            01/01/70 00:00      
               YOu may think so            01/01/70 00:00      
               Like, totally un-right Man!            01/01/70 00:00      
               Like, so Incomplete, dude!            01/01/70 00:00      
                  Where is question of completeness            01/01/70 00:00      
                     how can 'u' be complete, look in any dictionary            01/01/70 00:00      
                     Rules            01/01/70 00:00      
                        Thanks Sir. When you got awake?            01/01/70 00:00      
                           You            01/01/70 00:00      
                     Rules of the board            01/01/70 00:00      

Back to Subject List