PIC kit 2 Debug Express 16f887 assembly errors

Status
Not open for further replies.
Hi, i'm new to using PIC's and coding, i've been having a few lessons from a kind individual on here but having written a simple bit of code I cannot seem to identify assembling errors and remove them. The code is written in assembly language and stored in notepad.

I have added the code file and the error file, if anybody could be kind enough to identify where I have gone wrong that would be great!!!

Here's hoping
 

Attachments

  • sample.asm
    6 KB · Views: 170
  • sample.doc
    6.4 KB · Views: 217
Hi Eric,
thanks for that, unfortunately I still have some errors when I assemble it in mpasm.
error 215(line3) processor superseded by command line
error 301 - processor header file mismatch
error 108 (line5 and 6, illegal character , (,))
error 118 line 6, Overwriting previous address contents (2007)

Can you shed any light on whats going on? or not as the case may be?

Thanks

Lee
 
hi LG,
It assembles OK for me, I am using the asm file from post #3, are you using the same file.

Also which assembler are you using.??
 
hi Eric, it does assemble, it was to do with the chip selection, once I changed it to default it worked a charm!! thanks
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…