Reply by rtstofer April 27, 20032003-04-27

It seems like your error comes very early in the .asm file -
specifically line 4. I can duplicate this by just placing a '(' on
the line by itself. But since the closing ')' in your message is on
the following line I wonder if there is a NL in the file that doesn't
have a CR.

You could try deleting the first several lines and starting over. It
also seems you are missing an 'END' statement at line 5.

This seems like a very short file. Why are you using 'vi' instead of
the IDE editor. vi will probably create files with NL's and no CR's
as I believe this is standard for Unix text files. --- In , farroos <no_reply@y...> wrote:
>
> i can not go resolve this error when I compile my code. I think
that
> the error accured because of a hidden charachter on that line. I
> oppened the source file with 'vi' the unix editor and found no
> strange charechters. Please help. Error messages follows:
>
> Deleting intermediary files... done.
> Executing: "C:\Program Files\MPLAB
>
IDE\MCHIP_Tools\mpasmwin.exe" /q /p16F877 "nmotor.asm" /l"nmotor.lst"
> /e"nmotor.err" /aINHX8M
> Error[108] Z:\CLASSES\ECE44X\NEWMOTORTEST\NMOTOR.ASM 4 : Illegal
> character (
> )
> Error[129] Z:\CLASSES\ECE44X\NEWMOTORTEST\NMOTOR.ASM 5 : Expected
> (END)
> Halting build on first failure as requested.
> BUILD FAILED




Reply by farroos April 26, 20032003-04-26

i can not go resolve this error when I compile my code. I think that
the error accured because of a hidden charachter on that line. I
oppened the source file with 'vi' the unix editor and found no
strange charechters. Please help. Error messages follows:

Deleting intermediary files... done.
Executing: "C:\Program Files\MPLAB
IDE\MCHIP_Tools\mpasmwin.exe" /q /p16F877 "nmotor.asm" /l"nmotor.lst"
/e"nmotor.err" /aINHX8M
Error[108] Z:\CLASSES\ECE44X\NEWMOTORTEST\NMOTOR.ASM 4 : Illegal
character (
)
Error[129] Z:\CLASSES\ECE44X\NEWMOTORTEST\NMOTOR.ASM 5 : Expected
(END)
Halting build on first failure as requested.
BUILD FAILED