Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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 LG,
The asm file is unreadable, use the editor supplied with MPLAB.
 
hi LG,
Try this version.
 

Attachments

  • sample(2).asm
    3 KB · Views: 205
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.??
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top