HP 35s Checksum explained
|
02-09-2015, 09:20 AM
(This post was last modified: 02-09-2015 09:38 AM by Tugdual.)
Post: #2
|
|||
|
|||
RE: HP 35s Checksum explained
Topic on litterals
As I mentioned before, when entering a EQN, a string (in ASCII) is stored in a different location. The OP CODE remains 3 bytes long but the count of # of characters is added to the total. Few remarkable aspects - values entered in the code are stored the same way as EQN though they don't have the same OP CODE. Therefore they share the same memory area. - each string is stored in a 35 bytes block. The 2 first bytes indicate the length. It seems to be possible top have larger strings and in that case the 35s stores them in multiple blocks, not sure how. Entering Code: A001 LBL A Code: A001 LBL A Conclusion Litterals (strings entered with EQN or constant values) seem to be handled properly in the CRC calculation. At the moment I still don't know why some calculators should return different values. I also cannot reproduce the problem and my hardware and simulator are always returning identical values. I would be curious to see if some people get different values on their simulator. We're not sure that all calculators are strictly identical (same ROM? Some are may be also defective) but if the simulator returns different values in some occasions this would definitely indicate that we have a memory context that impacts the calculation. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)