Francois Robbertze wrote : > > Have you checked the LCALL > > and LGOTO > > psuedo instructions ? > > > > Jan-Erik. > > Not jet... > > Still learning the basics ;{} OK. In short, they set the PCLATH bit 3 and 4 to match the target of the GOTO and CALL, and then execute the GOTO or CALL. Note that they will always BCF/BSF the and the PCLATH bits even if not needed (as when they are already corrctly set)... Note2, be carefull and don't put any of the SKIP instructions directly before the Lxxxx pseudo instructions. Only the first BCF/BSF will be skipped with some realy "interesting" results... :-) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist