A83: Compile Error


[Prev][Next][Index][Thread]

A83: Compile Error




I am just learning the language (oh what fun!) and I have come across a
rather puzzling error. When I use the following code:
.NOLIST
#define equ .equ
#define EQU .equ
#define end .end
#include "ti83asm.inc"
#include "tokens.inc"
.LIST
.org 9327
     call _clrLCDFull
     ret
.end
END

and run it through ZASM, I get the following:

tasm: pass 1 complete.
tokens.inc line 0001: unrecognized instruction.                    (LIST)
tokens.inc line 0441: unrecognized directive.                       (little
symbol here)
tokens.inc line 0490: unrecognized directive.                       (little
symbol here)
tokens.inc line 0576: unrecognized directive.                       (little
symbol here)
tokens.inc line 0653: unrecognized directive.                       (little
symbol here)
tasm: pass 2 complete.
tasm: Number of errors = 5

Hey, something is wrong here!

Now, if I add in the line of code:
#define list .list after the line #define EQU .equ
it gets rid of the first error (line 0001)
However, as to the rest, <shrug>
Any help would be greatly appreciated.
Wes