??? 01/01/07 11:12 Read: times Msg Score: -1 -1 Answer is Wrong |
#130285 - Re: Basics Responding to: ???'s previous message |
I went thru all of this and i admit it makes sense.. Let me put in writing what i've understood and please correct me guys.. The mistake i've been making is displaying the 2's complement of the MSB, which is the sign bit of the temp out put. Instead, i must convert the 2's complement form of the LSB to binary and then display it to get the temperature.. Is this correct? Can someone give me a pointer or a hint for writing assembly code for converting 2's complement to binary? Thanks a lot Patrick. Your suggestion helped.. |