Why don't you try to put the line? Mauricio Jancic My new email is mrjancic@sion.com CHANGE IT! -----Mensaje original----- De: tocal [SMTP:tocal@AVANTEL.NET] Enviado el: Miˇrcoles, 08 de Diciembre de 1999 11:33 a.m. Para: PICLIST@MITVMA.MIT.EDU Asunto: Re: Mpasm #*!!***!?'? {MPAsm Help needed here} Thank you Mark, but if I place the org statement, I get: 00001 list p=16f84 00002 radix hex 00003 ;------------------------------------------------------------ 00004 ; Error[147] : Directive not allowed when generating an object file (ORG) 00005 org 0x000 Warning[203]: Found opcode in column 1. (nop) Error[152] : Executable code and data must be defined in an appropriate section 0000 00006 nop Error[152] : Executable code and data must be defined in an appropriate section 0000 00007 nop Error[152] : Executable code and data must be defined in an appropriate section 0000 00008 nop 00009 Warning[205]: Found directive in column 1. (end) 00010 end And I still can't build from within MPASM. Roberto Mark Willis wrote: > > I'm tired & have a headache & it's WAY past my bedtime, BUT, something I > don't see at all here is an Org statement, and THAT at least is > missing. As you haven't dropped an Org in there, MPAsm doesn't know > where you want to PUT that NOP, in the memory of the PIC chip! > > {I snipped out the line of plus signs etc., this system hangs up when I > send messages like that (and, of course, no-one wants to do other than > finger pointing on that.) Easy to work around it, annoying though.} > > Mark > > tocal wrote: > > > > MPASM users: > > > > Please tell me what's wrong. > > > > I wrote the following program with MPLAB/16 4.12.12 because no > > matter what I do, MPASMWIN gives me the following message for > > all the "nop" lines: > > > > Error[152] : Executable code and data must be defined in an > > appropriate section > > > > I know the first and third line are wrong, but why the second? > > > > list p=16f84 > > radix hex > > ;------------------------------------------------------------ > > ; > > nop > > nop > > nop > > > > end > > > > > > > > Roberto Toca > > tocal@avantel.net > > Mexico > > -- > I re-ship for small US & overseas businesses, world-wide. > (For private individuals at cost; ask.)