janH,
The link I gave in post #3 http://www.picbasic.co.uk/forum/showthread.php?t=5649 is a discussion on how to force the PIC to save on a power down.

ibra,
I gave you some sample code for your stepper motors.("problem with stepper ") Did it work? If not, what happened?