Fullfilling lookup tables
Hi, Everybody
Suppose we want to have a 250 values LOOKUP table ....
Writing all values by hand is quite boring and not error-free guaranteed ... isn't it ???
Now, working with MPLAB ( or else ) permits to locate the beginning of the RETLW xx list in the ASM listing .... and we know how to include a text file containing RETLW xx 's , ... coming from an Excel page or so ... precomputing media.
Would it be possible to find something to include the DATA file into the PbP brackets ( easiest solution !!! ), or a modifier, i.e " REP x\250 ", or another trick to keep free space in the ASM Listing to allow including the DATA file .... ????
Alain
1 Attachment(s)
Finally, What that gives ....
Hi, Steve
After lots ( LOL ) of trails, I went to commit that ...
The table loads great !!! ... full Program hasn't been " live tested" yet ... ( re LOL )
Alain
PS: IF PIR1.2 THEN ... at the beginning, has being modified for simulation ( good read is : IF NOT PIR1.2 ... of course, dear Mr Watson ... )