??? 11/16/06 09:06 Read: times |
#128066 - PC State Machines Responding to: ???'s previous message |
Massimo Battiston said:
I always use state machines in my firmware, but i know very little about PC programming so i didn't help my collegue about this point, and so i searched for help here. If you can do it on an 8051, then doing it on a PC should be easy! The problem is usually the other way around; ie, how to do things that were easy on a PC within the constraints of an 8051! eg, a very common way (possibly even the "standard" way?) of doing state machines in 'C' is to use tables (ie, arrays) of function pointers; But function pointers are problematic for (most) 8051 'C' implementations... |