Have a look here but be very carefull with direct ASM commands.

http://www.rcfaq.com/PIC/optimize.htm#morefornext

Ioannis