Technical Support

A51: EXPECTED DELIMITER ')' AFTER ARGUMENT (INCDIR)


Information in this article applies to:

  • C51 Version 5.50

QUESTION

I invoke the A51 assembler using the following command line:

A51 ASAMPLE.A51 PRINT(ASAMPLE.LST) INCDIR(H1;H2)

and I get:

A51 FATAL ERROR -
  LINE:       C:\C51\BIN\A51.EXE ASAMPLE1.A51 PRINT(ASAMPLE1.LST) INCDIR(H1#
  ERROR:      EXPECTED DELIMITER ')' AFTER ARGUMENT
A51 TERMINATED.

Why?

ANSWER

The A51 manual has a mistake on the page where the INCDIR directive is explained. It states that include paths should be separated by a semicolon. The correct way is to separate paths using a comma.

Change your command line to:

A51 ASAMPLE.A51 PRINT(ASAMPLE.LST) INCDIR(H1,H2)

MORE INFORMATION

  • Refer to INCDIR in the Ax51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure