Search the Community
Showing results for tags 'Large ROM array table pointer'.
Found 1 result
It would be handy if a large Read-Only data array could be created in ROM space, to be accessed only by using the table pointer instructions. This array would have to be of a type which relaxes the array size limit of 256 bytes (on PIC18). At the moment, I can achieve this with a 'C' program I have written which reads the data I want in the large array from an 'h' file and appends extra 'S' records to the SourceBoost .hex file output. The PIC programmer then programs the target with code + data array, which can then be read with a table pointer routine. However, all this is tedious and timewasting, and especially frustrating as the original data for the large table array is in an 'h' file format anyway! Could you perhaps consider this "large Read Only array" as an addition to a future release of Sourceboost C?