Propeller PASM size limits
makares
Posts: 5
I have done several projects with propellers and have a good understanding of using PASM. However, my current project is causing me some trouble as I seem to be reaching a size limit with the code. I haven't written what I consider to be too many lines in the DAT section (assembly of course), but if I write one more it causes the code not to function correctly. This confuses me greatly as I have the fit statement at the bottom and I start the code with (ORG 0) no compile time errors. It really is as simple as adding a line at the bottom to stop the code from functioning properly. Has anyone had experience with this? Any info would be greatly appreciated. I have looked all over for an explanation of the limits of PASM code segments, but I have found nothing. Thanks in advance.
Comments
Also, you use currentword uninitialised (res). IOW there is a chance (however small) that it contains part of a pattern you check against which means a single incoming byte may complete the pattern and you detect one where there isn't one.