Ken Pergola wrote : > Bob Ammerman wrote: > > > On an 18F you could also say: CLRF WREG > > Hi Bob, > > Definitely true, but that would be architecture-specific (not portable > across all PICmicro cores) just like 'CLRW' was in the > original source code the original posted has. Well, the 18-series has 77 instructions, *42 more* then the 35 instructions in the 16-series. Shouldn't you use *any* of those 42 "extra" instructions just to keep the portability with the 16-series ? If you *realy* need cross plattform portability, you could also use conditional assembly (using different code for the 18 and the 16 series) whenever it's needed. Jan-Erik. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu