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.)