My project will be using several large tables of data (2Kb each).
I want to use TBLRD to access the words/bytes, but I'm unsure how to set up the tables to be used with TBLRD.
MPASM has a table data structure:
table0 dw 0x00,0x01,0x00,0x02,0x00,0x03 dw 0x00,0x01,0x00,0x02,0x00,0x03 ; etc... table1 dw 0x00,0x01,0x00,0x02,0x00,0x03 dw 0x00,0x01,0x00,0x02,0x00,0x03 ; etc...
Since the program is in development, the start address of the tables will probably change as the code changes, so I can't really hard code the locations to put in to TBLPTR. Or can I?
What's the best way to handle this?
Thanks,
Randy