??? 06/27/05 20:45 Read: times |
#96053 - No pain, no gain. Responding to: ???'s previous message |
Erik Malund said:
"do not use function pointers with the '51" That would certainly be the safe approach. Function pointers on the '51 certainly require a good understanding of the issues involved - so anyone who isn't prepared to put in the effort required (especially, reading Manuals) should certainly steer clear! Like guns, function pointers can be very useful & effective in careful & trained hands - but lethal otherwise! "using function pointers with the '51 eat your memory" Function pointers need not use any more memory - but careless use can mess up the overlaying, and corrupt data... |
Topic | Author | Date |
Coding a Jmp table in C | 01/01/70 00:00 | |
Jmp Tables in C | 01/01/70 00:00 | |
you do not | 01/01/70 00:00 | |
Call table? | 01/01/70 00:00 | |
Of course not! | 01/01/70 00:00 | |
use jmp@a+dptr | 01/01/70 00:00 | |
jmp table not in C | 01/01/70 00:00 | |
Wrong ends of sticks? | 01/01/70 00:00 | |
You do not control the Compiler Output | 01/01/70 00:00 | |
You can not have your cake and eat it to | 01/01/70 00:00 | |
Jump Table in C | 01/01/70 00:00 | |
Call Table? (again) | 01/01/70 00:00 | |
Call Table? (again) | 01/01/70 00:00 | |
I never did use function pointers | 01/01/70 00:00 | |
No pain, no gain. | 01/01/70 00:00 | |
the overlaying | 01/01/70 00:00 | |
There can be a gain. | 01/01/70 00:00 | |
My 2 cents worth | 01/01/70 00:00 | |
Incorrect | 01/01/70 00:00 | |
As Matter of Fact....![]() | 01/01/70 00:00 |