Michael Rigby-Jones a =E9crit : >=20 > > -----Original Message----- > > From: Gaston Gagnon [SMTP:gaston.gagnon@VIDEOTRON.CA] > > > > The following links gives a basic description of state machine in= a > > multitasking context. State machines are compared to Timeslicing = with > > simple example. > > > > http://www.bknd.com/cc5x/multitasking.shtml > > > It's quite a good introduction but of course it's all biased to C > programming wheras the OP wanted assembler. Speaking for myself, I learned the principle of the state machines fr= om this introduction. Then I went on to analyze the multiple servo contr= ol example cited earlier in the thread.=20 This application is in assembler and a good exempla of a well though solution to an otherwise difficult problem.=20 Gaston -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.