John Flynn wrote : > I have now added the linker file C:\Program > Files\MPLAB IDE\MCHIP_Tools\LKR\12f675.lkr. I get the > follwoing output:- > > 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. Just a warning. Either ignore it, or add "errorlevel -302" to the top of your code. > Message[305] C:\PICKIT 1\UPDATEDCLASSIC\LESSON > 6\ASM\PGLOOKUP.ASM 302 : Using default destination of > 1 (file). There is an instruction that should have a "d" parameter that is missing. "F" is the default. Maybe it should be "F", but it's sloppy coding not to specify it. Check line 302... > 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 Not both "675" and "629" in the message above. Correct that. Jan-Erik. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist