The goal of this paper is to collect common error messages in most compilations and to annotate them in Chinese, so that you can quickly locate errors and solve problems while writing assembler programs.
Ml.exe error message:
Copy Code code as follows:
FATAL Critical Error
Cannot open file cannot be opened
I/O error closing filei/o errors are closing files
I/O error writing FILEI/O errors are writing files
I/O error reading file I/O errors are reading files
Out of memory missing memory
Assembler limit:macro parameter Name table full assembly limit: Macro parameter name tables
Invalid command-line option invalid command line argument
Nesting level too deep nested too deep
Unmatched macro nesting incorrect macro nesting
Line too long
Unmatched block nesting incorrect zone, segment nesting
directive must be-in-control block instruction must be
Error count exceeds 100; Stopping assembly error number exceeds 100, stop assembly I
Nvalid numerical command-line argument invalid command line arguments
Too many arguments too many parameters, definitions, conflicts
Statement too complex statement too complex
Internal Assembler Error Internal assembly errors
Missing source filename cannot be found
COFF Error writing file COFF errors, writing files
Invalid debug and browser data; File exceeds line limit cannot troubleshoot and browse data;
Cannot find link.exe not found the connection program
Cannot find Cvpack.exe not found
Cvpack.exe SEVERE a serious mistake.
Memory operand not allowed the in-context memory operand cannot be loaded into the contextual environment
Immediate operand not allowed the current operand cannot be loaded
Cannot have more than one else clause each if block if paragraph can only have an ELSE clause
Extra characters after statement appended characters after declaration
Symbol Type conflict conflict
Symbol redefinition symbols already defined
Undefined symbol symbols are not defined
Non-benign record redefinition is not conducive to the definition of records
Syntax error syntax errors
Syntax error in expression expression has syntax errors
Invalid type expression for invalid type expression
Distance invalid for Word size The current segment the size command for the present area and segment is invalid
PROC, MACRO, or MACRO repeat directive must local precede, PROC, or MACRO MACRO instructions must precede local
. MODEL must precede this directive. Model must precede the instruction
Cannot define as public or external cannot be defined as publicly or externally
Segment attributes cannot change area, segment properties cannot be replaced
Expression expected-expected expression
Operator expected expected operand
Invalid use of external symbol uses an invalid external symbol
Operand must be record type or field operand must be a record or field
Identifier not a record has no recording designator
Record constants can not span lines breaks continuous records cannot exceed row intervals
Instruction operands must be the same size command operand must be the same length
instruction operand must have size command operand must have length
Invalid operand size for instruction operand length is invalid for instruction
Operands must is in same segment operand must be in the same segment
Constant expected continuous anticipation
Operand must be a memory expression operand must be an expression of memory
Expression must be a the code address expression must be a codepage
Multiple base registers not allowed does not allow multiple base registers
Multiple index registers not allowed does not allow multiple flag registers
Must be index or base register must be a base or flag register
Invalid register used by invalid use of register
Invalid invoke argument invalid invoke symbol
Must be in segment blocks must be within a region, segment, block
DUP too complex DUP too complex
Too many initial values for structure too many infrastructure information
Statement not allowed inside structure definition declaration is not allowed inside the structure
Missing operand for macro operator the number of actions that cannot be found for macros
Line too long
The segment register does not allowed the register is not allowed in the contexts context
string or text literal too long text or string
Statement too complex statement too complex
Identifier too long identifier
Invalid character in file with invalid characters
The same bracket or frame cannot be found in the missing angle bracket or brace in literal statement
Missing single or double quotation mark in string could not find one or double quotes
Empty (NULL) string has no strings
Nondigit in number does not have a total
Syntax error in floating-point constant indeterminate point with syntax errors
Real or BCD number not allowed does not allow real or BCD encoding
Text item required must be a literal entry
Forced Error Enforcement errors
Forced Error:value equal to 0 standard equals zero
Forced Error:value not equal to 0 standard does not equal zero
Forced error:symbol not defined symbol not defined
Forced Error:symbol defined symbol defined
Forced error:string blank string is empty
Forced error:string not blank strings are not empty
Forced error:strings equal strings are the same
Forced error:strings not equal strings are not the same
[ELSE] if2/. ERR2 not allowed:single-pass assembler [else]if2/. ERR2 not allowed to separate assembly
Expression too complex for. Untilcxz. Untilcxz expressions are too complex
Can ALIGN only of 2 can be aligned to a power of 2
Structure alignment must be 1, 2, 4, 8, or 16 structural alignment must be 1,2,4,8 or 16
Expected predefined
CPU mode and segment size mismatch for incompatible CPU mode and segment size
Lock must is followed by a memory operation lock directive must follow the memory operation
Instruction prefix not allowed a command prefix that is not allowed
No operands allowed for this instruction directive no operands
Invalid instruction operands invalid directive operand
Initializer magnitude too large for specified size initial specified size is too large
Cannot access symbol in given segment or group cannot access symbols in a particular segment or class
Operands have different frames operands have different structures
Cannot access label through segment registers cannot access tags in segment registers
Jump destination too far jump target too far
Jump destination must specify a label jump target must specify a tag
Instruction does not allow NEAR indirect addressing directive does not allow near-indirect addressing
Instruction does not allow FAR indirect addressing directive does not allow far indirect addressing
The above is the common error message in the compilation and Chinese annotation, hope to help you