Keil Logo

Errors

Macro processing errors are displayed like other assembly errors in the listing file. The following table describes error messages generated by the macro processor:

Error Error Message and Description
80 PREMATURE END OF FILE
The end of the source module was reached while processing some macro call. More input is required from the source file.
81 'token' IDENTIFIER EXPECTED
The macro processor expected an identifier while processing a macro but none was found. The unexpected token is displayed.
82 MPL FUNCTION 'name': 'character' EXPECTED
The context of the macro processor language requires a specific character while processing the built-in function name.
83 string: UNBALANCED PARENTHESES
A balanced string requires the same number of right parentheses and left parentheses.
84 EXPECTED 'token'
The syntax requires a specific token. For example, THEN after the balanced text argument to IF.
85 INCOMPLETE MACRO DEFINITION
The macro definition is incomplete because of a premature end to the input file.
86 FUNCTION 'MATCH': ILLEGAL CALL PATTERN
The built-in function MATCH was called with an illegal call pattern. The call pattern must consist of a formal name followed by a delimiter specification and another formal name.
87 FUNCTION 'EXIT' IN BAD CONTEXT
The built-in function EXIT is allowed only in WHILE and REPEAT constructs.
88 ILLEGAL METACHARACTER 'character'
The first character of the balanced text argument to the METACHAR function is taken to be the new value of the meta character. The characters @, (, ), *, blank, tab, and identifier characters are not allowed.
89 CALL PATTERN - DELIMITER 'delimiter' NOT FOUND
The call pattern of a macro does not conform to the define pattern of that macro.
90 CALL TO UNDEFINED MACRO 'name'
The macro call specifies the name of an undefined macro.
91 INVALID MPL COMMAND '%character'
The character following the meta character does not form a valid macro processor language command.
92 INVALID DIGIT 'character' IN NUMBER
A number of an expression contains an invalid digit.
93 UNCLOSED STRING OR CHARACTER CONSTANT
94 INVALID STRING OR CHARACTER CONSTANT
The string representing a number in an expression is invalid. The string must be either one or two characters long. A character constant must not be longer than one character. Strings or character constants must be enclosed by single or double quotes.
95 UNKNOWN EXPRESSION IDENTIFIER
The identifier within an expression is not an operator or a number.
96 'character': INVALID EXPRESSION TOKEN
The specified character does not form a valid operator or an identifier operator.
97 DIV/MOD BY ZERO
A division or modulo by zero error occurred while evaluating an expression.
98 EVAL: SYNTAX ERROR IN EXPRESSION
The expression to be evaluated contains a syntax error. For example, two consecutive numbers which are not separated by an operator.
99 CAN'T OPEN FILE 'file'
The file specified in the INCLUDE directive cannot be opened.
100 'file' IS NOT A DISK FILE
The file specified in the INCLUDE directive does not specify a disk file. Files other than disk files (for example, CON) are not allowed.
101 ERROR IN INCLUDE/INCDIR DIRECTIVE
The INCLUDE directive is poorly formed. The argument to INCLUDE must be the name of a file enclosed in parentheses.
102 CAN'T REDEFINE PREDEFINED MACRO 'macro-name'
Predefined macros such as SET cannot be redefined.
  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.