Keil Logo

A51: Expected Delimiter ')' After Argument (INCDIR)


Information in this article applies to:

  • C51 Version 5.50 and Later

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 AX51 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: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.