??? 05/13/04 00:12 Read: times |
#70276 - RE: Please Oleg Sergeev Responding to: ???'s previous message |
If you're having problems understanding Oleg's and Michael's state machine code, a good method is to run the code through a simulator.
You will be able to see how dptr is initialized to point to the start of a jump table, and how an index value is added to point to the appropriate entry--and note that this addition is affected by the size of the entries... With a little simulator time, you should be able to create the comments you are looking for. Dennis |