Keil Logo

Technical Support

On-Line Manuals

A166 User's Guide

A166 Introduction Assembling Programs Operands and Expressions Operators Control Statements Macro Processor Error Messages Fatal Errors Actions Messages Non-Fatal Errors Reference Error A1 Error A2 Error A3 Error A4 Error A5 Error A6 Error A7 Error A8 Error A9 Error A10 Error A11 Error A12 Error A13 Error A14 Error A15 Error A16 Error A17 Error A18 Error A19 Error A20 Error A21 Error A22 Error A23 Error A24 Error A25 Error A26 Error A27 Error A28 Error A29 Error A30 Error A31 Error A32 Error A33 Error A34 Error A35 Error A36 Error A37 Error A38 Error A39 Error A40 Error A41 Error A42 Error A43 Error A44 Error A45 Error A46 Error A47 Error A48 Error A49 Error A50 Error A51 Error A52 Error A53 Error A54 Error A55 Error A56 Error A57 Error A58 Error A59 Error A60 Error A61 Error A62 Error A63 Error A64 Error A65 Error A66 Error A67 Error A68 Error A69 Error A70 Error A71 Error A72 Error A73 Error A74 Error A75 Error A76 Error A77 Error A78 Error A79 Error A80 Error A81 Error A82 Error A83 Error A84 Error A85 Error A86 Error A87 Error A88 Error A89 Error A90 Error A91 Error A92 Error A93 Error A94 Error A95 Error A96 Error A97 Error A98 Error A99 Error A100 Error A101 Error A102 Error A103 Error A104 Error A105 Error A106 Error A107 Error A108 Error A109 Error A110 Error A111 Error A112 Error A113 Error A114 Error A115 Error A116 Error A117 Error A118 Error A119 Error A120 Error A121 Error A122 Error A123 Error A124 Error A125 Error A126 Error A132 Error A133 Error A134 Error A135 Error A136 Error A137 Error A150 Error A151 Error A152 Error A153 Error A154 Error A155 Error A156 Error A157 Error A158 Error A159 Error A160 Error A161 Error A162 Error A163 Error A164 Error A165 Error A166 Error A167 Error A168 Error A169 Error A170 Error A171 Error A172 Appendix

Reference

The following pages describe the non-fatal errors generated by the A166 Assembler. Messages are listed in numerical order and each is divided into several sections:

Summary Briefly describes the error or warning.
Description Provides a detailed description of message and why it was generated.
Cause Describes the cause of the error.
Resolution Provides hints and suggestions for correcting the problem.
Example Provides an example, where possible, of the error condition.
See Also Provides useful references to additional material.

The following table lists errors and warnings:

A1 Error Illegal Character in Numeric Constant
A2 Error Missing String Terminator
A3 Error Illegal Character
A4 Error Illegal Use of a Reserved Word
A5 Error Symbol or Label Redefinition
A6 Error Syntax Error
A7 Error Respecified Primary Control, Line Ignored
A8 Error Misplaced Primary Directive, Line Ignored
A9 Error Conflicting Control
A10 Error Misplaced Conditional Control
A11 Error Bad Conditional Expression
A12 Error Unbalanced IF-ENDIF Controls
A13 Error SAVE Stack Underflow
A14 Error SAVE Stack Overflow
A15 Error Expression Too Complex
A16 Error Unknown Control or Bad Argument(s)
A17 Error Misplaced ELSEIF/ELSE/ENDIF Control
A18 Error Limit Exceeded: IF-Nesting (10)
A19 Error Numeric Value Out of Range
A20 Error Non-Null Argument Expected
A21 Error '(' Expected
A22 Error ')' Expected
A23 Error Identifier Expected
A24 Error Division By Zero Error
A25 Error Symbol Redefinition
A26 Error More Than 10 Nested Sections, Section Ignored
A27 Error Misplaced Directive
A28 Error SECTION NAME Expected
A29 Error Unmatched ENDS/ENDP
A30 Error Redefinition: SECTION TYPE
A31 Error Redefinition: ALIGN TYPE
A32 Error Redefinition: COMBINE TYPE
A33 Error Redefinition: CLASS NAME
A34 Error Illegal Section Type
A35 Error DPPn Expected
A36 Error ':' Expected
A37 Error Type Identifier Expected
A38 Error DPP: Valid on BYTE/WORD Variables Only
A39 Error Illegal PUBLIC/GLOBAL Symbol
A40 Error Use of '$' Outside a Section
A41 Error Illegal String in Expression
A42 Error Undefined Identifier
A43 Error Illegal Align Type
A44 Error No Currently Active Section
A45 Error Keyword Not Allowed in Current Context
A46 Error Can't Nest Code Sections
A47 Error Illegal Type for a Label
A48 Error Insufficient Alignment
A49 Error More Than One REGBANK Definition
A50 Error Register Range Overlap
A51 Error REGDEF Registers Do Not Match Used Registers
A52 Error Invalid Register Range
A53 Error Section is Already a Member of Group
A54 Error ASSUME in Nonsegmented Mode Ignored
A55 Error DPP in Nonsegmented Mode Ignored
A56 Error Illegal Component
A57 Error Illegal Register
A58 Error ']' Expected
A59 Error '#' Expected
A60 Error Illegal Identifier
A61 Error Illegal Operand for this Operator
A62 Error Value Truncation
A63 Error Illegal Relocatable Expression
A64 Error Type Override has Invalid Operand
A65 Error Invalid Use of SHORT Operator
A66 Error Value Out of Range
A67 Error Absolute Value (0-15) Expected for Bit Position
A68 Error Invalid Base in Bit Address
A69 Error Not a Bit-Addressable Base
A70 Error Invalid Type of Expression
A71 Error Expression with Forward Reference Not Permitted
A72 Error Absolute Expression Required
A73 Error Number of Operands Does Not Match Instruction
A74 Error Illegal Operand Type
A75 Error Can't Nest Procedures
A76 Error Write Access to Read-Only Location
A77 Error Missing DPP Information
A78 Error FAR Return in Non-Far Procedure
A79 Error NEAR Return in Non-Near Procedure
A80 Error Interrupt Return (RETI) in Non-Interrupt Procedure
A81 Error Illegal Branch Target
A82 Error Relative Distance Out of Range
A83 Error TRAP Instruction Required to Activate an Interrupt Procedure
A84 Error NEAR Reference to FAR Location
A85 Error FAR Reference to NEAR Location
A86 Error Section Length Overflow
A87 Error More Than One PECDEF/SSKDEF
A88 Error Illegal PEC Channel
A89 Error Premature End-of-File (No END Statement)
A90 Error Illegal Address in Nonsegmented Mode
A91 Error Not in Bit-Addressable Range (0FD00h-0FDFFh)
A92 Error Illegal Simple Relocatable Expression
A93 Error Name of a Section Expected
A94 Error Multiple DPP ASSUME for One Section or Group
A95 Error More Than One TASK in One Module
A96 Error POF/SOF Invalid on Group Name
A97 Error Result Exceeds Byte Precision
A98 Error Illegal Trap Vector
A99 Error Relative Branch to External Procedure
A100 Error Illegal DPP Operand
A101 Error Invalid System Address
A102 Error Invalid Internal RAM Address
A103 Error Invalid Bit Address
A104 Error DATAn Operator: Incompatible Operand
A105 Error $ABSOLUTE: Not an Absolute Module
A106 Error Unterminated SECTION/PROCEDURE
A107 Error REGBANK Name Required
A108 Error 80C167 Instruction Requires MOD167 Directive
A109 Error Unused
A110 Error Access to Normal SFR Within an 'Extended' Sequence
A111 Error Access to Extended SFR Outside an 'Extended' Sequence
A112 Error Can't have TASK and INTERRUPT in One Module
A113 Error PUBLIC/EXTERN on REGBANK Not Allowed
A114 Error REGUSE: Unknown Register
A115 Error Multiple REGUSE for One Symbol
A116 Error REGUSE Requires a PROC Symbol
A117 Error String Too Long
A118 Error Ambiguous Operation
A119 Error Macro Redfinition
A120 Error Macro Terminated by End of File, Missing ENDM
A121 Error Too Many Formal Parameters (16)
A122 Error Too Many Locals (16)
A123 Error Duplicate Local/Formal
A124 Error EXITM Invalid Outside a Macro
A125 Error Line Truncated After 200 Tokens
A126 Error Keyword Requires MODST10 Directive
A132 Error Location Counter May Not Point Below Section Base
A133 Error Internal Error: Sync Problem
A134 Error Improper Address Alignment
A135 Error Constant Value Required
A136 Error Number or Types of Operands Do Not Match
A137 Error Not a Repeatable Instruction
A150 Error Premature End-of-File
A151 Error name: Identifier Expected
A152 Error MPL Function name: char Expected
A153 Error name: Unbalanced Parentheses
A154 Error Expected token
A155 Error Incomplete Macro Definition
A156 Error Function MATCH: Illegal Call Pattern
A157 Error Function EXIT in Bad Context
A158 Error Illegal Metacharacter char
A159 Error Call Pattern - Delimiter delimeter Not Found
A160 Error Call to Undefined Macro macro-name
A161 Error Invalid MPL Command %char
A162 Error Invalid Digit char in Number
A163 Error Unclosed String or Character Constant
A164 Error Invalid String or Character Constant
A165 Error Unknown Expression Identifier
A166 Error token: Invalid Expression Token
A167 Error Divide/Modulo By Zero Error
A168 Error Eval: Syntax in Expression
A169 Error Can't Open File filename
A170 Error filename is Not a Disk File
A171 Error in INCLUDE/INCDIR Directive
A172 Error Can't Redefine Predefined Macro macro-name
  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.