??? 11/16/06 22:28 Read: times |
#128132 - Function Pointers! Responding to: ???'s previous message |
Andy said:
Sure - and that's the way I do it on 8051s. Russ Cooper said:
Why not use the table-driven approach on the 8051? Because, as I noted earlier, function pointers are troublesome to (most) 8051 'C' compilers: http://www.8052.com/forumchat/read.phtml?id=128066 With Keil at least, it should be possible (so long as you don't dynamically change the table) - but I stuck with the switch rather than leave any room for doubt with the function pointers. |