Hi, having some problems with my coursework project.
We were given templates (from the exam board) to build on - they only contain ;**aesthetic placeholders** and the like, as well as start, ;subroutines here, and things like that.
Now, under ;vectors are the lines:
I know this template to be working, as I tested another example someone had made a previous year, and it assembled fine.
However, when I try to build mine (which has the same lines as above, and as in the known-working)
I get these two errors (only):
Error[113] J:\FIRE.ASM 38 : Symbol not previously defined (inter)
Error[121] J:\FIRE.ASM 189 : Illegal label (inter)
Line 189 refers to the end of the program, where org 0004h should point:
I don't understand what could be different in mine that causes it not to work. I've even tried changing 'inter' for 'somelabel', and a different PC, and different installation (and different version) of MPLAB.
Any tips?
We were given templates (from the exam board) to build on - they only contain ;**aesthetic placeholders** and the like, as well as start, ;subroutines here, and things like that.
Now, under ;vectors are the lines:
Code:
org 0000h
goto start
org 0004h
goto inter
org 0008h
I know this template to be working, as I tested another example someone had made a previous year, and it assembled fine.
However, when I try to build mine (which has the same lines as above, and as in the known-working)
I get these two errors (only):
Error[113] J:\FIRE.ASM 38 : Symbol not previously defined (inter)
Error[121] J:\FIRE.ASM 189 : Illegal label (inter)
Line 189 refers to the end of the program, where org 0004h should point:
Code:
inter end
I don't understand what could be different in mine that causes it not to work. I've even tried changing 'inter' for 'somelabel', and a different PC, and different installation (and different version) of MPLAB.
Any tips?