Another question / comment: At 08:51 PM 4/24/2012, Byron Jeff wrote: >Now that I see this method, it looks like I could do conditional assembly >of my movlb (add an OLDBANK variable, compare it to CURBANK, and only gene= rate >the movlb if they differ) to optimize SETBSR. I haven't tried to do anything like this for many years now because=20 the early versions of MPASM and MPASMWIN couldn't handle situations=20 where a macro changes the number of lines of code in the file between=20 assembler passes. The assembler would simply bail with a weird error=20 code that was eventually explained to me by someone in Microchip's=20 tech support department as being a 'phasing error'. What that meant=20 is that the assembler just couldn't deal with macro code that added=20 or removed lines of code during assembly. I'm certainly happy to try it but I fully expect problems with this. dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .