In message <199702060030.WAA02629@phantom.pix.za> PICLIST@MITVMA.MIT.EDU writes: > How about this: > > movfw COMND ;get you command into w > addwf PCL ;add offset to pc to generate > ;computed goto > goto Routine1 > goto Routine2 > goto Routine3 > goto Routine4 > ..... > goto RoutineX > > Make sure you never give COMND a command value higher than the number of > goto > statements you have! > You should also clear the carry before the "addwf pcl" Regards, Mike Watson