--- WH Tan wrote: > On Friday, October 22, 2004 6:54 PM > John Flynn wrote: > > > IDE\MCHIP_Tools\mpasmwin.exe" /q /p12F675 > > "pglookup.asm" /l".\pglookup.lst" > /e".\pglookup.err" > > /x".\pglookup.xrf" /w2 > > Error[149] C:\PICKIT 1\UPDATEDCLASSIC\LESSON > > 6\PGLOOKUP.H 5 : Directive only allowed when > > generating an object file > > Did you add the file "12f675.lkr" into your project > workspace? I have now added the linker file C:\Program Files\MPLAB IDE\MCHIP_Tools\LKR\12f675.lkr. I get the follwoing output:- Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\MPLAB IDE\MCHIP_Tools\mpasmwin.exe" /q /p12F675 "pglookup.asm" /l"pglookup.lst" /e"pglookup.err" /o"pglookup.o" Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 142 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 155 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 168 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 181 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 256 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 262 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 263 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 264 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 270 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[302] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 271 : Register in operand not in bank 0. Ensure that bank bits are correct. Message[305] C:\PICKIT 1\UPDATEDCLASSIC\LESSON 6\ASM\PGLOOKUP.ASM 302 : Using default destination of 1 (file). Executing: "C:\Program Files\MPLAB IDE\MCHIP_Tools\mplink.exe" "C:\Program Files\MPLAB IDE\MCHIP_Tools\LKR\12f675.lkr" "C:\PICkit 1\UpdatedClassic\Lesson 6\Asm\pglookup.o" "C:\PICkit 1\UpdatedClassic\Lesson 6\Asm\intlib675.o" "C:\PICkit 1\UpdatedClassic\Lesson 6\Asm\intlib629.o" /o"NewLesson6.cof" MPLINK 3.70, Linker Copyright (c) 2004 Microchip Technology Inc. Error - processor types do not agree across all input files. Errors : 1 BUILD FAILED: Fri Oct 22 13:19:16 2004 Thanks, John ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist