Think you very helpful the build is clean now. Next problem: I loaded the program onto my circuit but does not work. I have a jal writen= blinking light program (I use the wisp628 to program with). I modified i= t to use RB0 and it works fine so I know my ciruit works. The circuit for= this project uses the RB0 to RB3 Here is my program as I have it now can anyone see a reason this should not= work. Again appreciate the help ;-----------------------------------------------------------------------; ; BINCNT.ASM Counts in binary on LEDs ( RB0 - RB4 ) ; ;-----------------------------------------------------------------------; ;-----------------------------------------------------------------------; ; The next 6 lines are directions to the assembler ; ;-----------------------------------------------------------------------; LIST P=3D16f876 ; tells which processor is used INCLUDE "p16f876.inc" ; defines various registers etc. Look it o= ver. ERRORLEVEL -224 ; supress annoying message because of tris __CONFIG _PWRTE_ON & _LP_OSC & _WDT_OFF ; configuration switches ORG 0 ; start a program memory location zero ;-----------------------------------------------------------------------; ; First we set up all bits of PORT A and B as outputs ; ; and set bits in the OPTION register concerning TMR0 ; ;-----------------------------------------------------------------------; movlw B'00000000' ; all bits low in W tris PORTA ; contents of W copied to PORT A ... tris PORTB ; and PORT B tris PORTC ; and PORT C movlw B'00000100' ; pull-ups active ; prescalar assigned to TMR0 and set 1:32 option ; rolls over each second =20 ;-----------------------------------------------------------------------; ; This is the main program ; ;-----------------------------------------------------------------------; clrf PORTB ; start with zero loop: incf PORTB, f ; add 1 to port B btfss INTCON, T0IF ; wait on T0IF to be set goto $ -1 bcf INTCON, T0IF ; clear the interrupt flag goto loop end ; end of program -----Original Message----- From: Alexander JJ Rice To: PICLIST@MITVMA.MIT.EDU Date: Mon, 8 Mar 2004 15:07:55 -0000 Subject: Re: [PIC:] Newbie trying to assemble using MPASM for 16f876 > Deleting intermediary files... done. > Executing: "C:\Program Files\MPLAB IDE\MCHIP_Tools\mpasmwin.exe" /q > /p16F676 [WOOPS!!!!]"Binarycounter_876.asm" /l"Binarycounter_876.lst" > /e"Binarycounter_876.err" > Warning[215] C:\16F876 PROJECTS\BINARYCOUNTER_876.ASM 7 : Processor > superceded by command line. Verify processor symbol. > Message[301] C:\PROGRAM FILES\MPLAB IDE\MCHIP_TOOLS\P16F876.INC 37 : > MESSAGE: (Processor-header file mismatch. Verify selected processor.) > Loaded C:\16f876 Projects\Binarycounter_876.COD > BUILD SUCCEEDED: Mon Mar 08 09:18:18 2004 > > Thanks again all. I really appreciate it I was totally frustrated when I > posted this need for help around 2am my time. Now it looks like I am > close to moving on and doing some project changes. You have accidentally set you processor as a 676 not an 876 - i put[WOOPS!!!] next to the error, the asswmbler is complaining that you then have the wrong include file etc etc. Go to options > development mode and set the processor as an 876 and all will be fine. regards alex -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics