![]() |
Forum Index : Microcontroller and PC projects : TIMER Documentation Disagreement
Author | Message | ||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
Hi guys, it's that Polack from NY with another dumb syntax question. The Micromite Manual.pdf says 200 million years is 6.3072E+18 ms. A 64 bit binary could count to 1.8447E+19 ms. But the MMBasic Language Manual.pdf says 49 days is 4.2336E+09 ms. A 32 bit binary could count to 4.2950E+09 ms. Which seems to indicate that it was changed from 64 bits to 32 bits sometime. The Micromite Plus manual is silent on the matter. So, which version of MMBasic and which chips use 64 bits and which use 32 bits? Paul |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
The colour maximite V4.5 uses 32 bit. Al numbers are floating piont so while the internal counter rolls over every 49 days, the usable count is less and you would need to do your own overflow code. The later micromites had 64 bit integers added to the mix. This makes life easier. Jim VK7JH MMedit |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |