WH Tan wrote: > When I was compiling the PICDEM 2+ sample code for PIC18F452, I get the > following error message. > It look like MPLAB 6.40 is unable to regonize CLRW as a mnemonic. > > Warning[207] D:\PROJECTS\PIC+\DEMO18\P18MATH.ASM 101 : Found label after > column 1. (CLRW) Hi WH Tan, I would just replace the 'CLRW' mnemonic with 'ANDLW 0x00'. Using 'ANDLW 0x00' should make the source code architecture-independent. Just don't forget to include a comment because 'ANDLW 0x00' isn't as readable as 'CLRW': ANDLW 0x00 ; Clear W register Best regards, Ken Pergola -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu