Hi, I been trying to do some table lookup but somehow I cannot get it to work. Is there something in MIOS that requires special attention todo these things ?
Or maybe it is just my lack of knowledge
I been looking thru following documents concerning TBLRD & stuff, but I didn’t get much wiser.
you have to use the JUMPTABLE_2BYTES macro instead
Huray!
This works, splendid, thanks !
I did have a look at the SID tables, but I found so many ‘extra’ instructions in there, too much for me to filter out the essentials… I still have to learn alot !
cheerz
Oh btw, about tablereads… perhaps more elegant but nowhere explained on a newcomers level :-/
(e.g. the example by microchip isn’t exactly drowning in explanatory commenting, is it ?)