Chinese annotations for common assembly language error messages

  • 2020-04-02 02:47:02
  • OfStack

The goal of this article is to collect the most common errors in assembly and Chinese annotations for them so that you can quickly locate errors and solve problems when writing assembly programs.

Ml.exe error message:


FATAL   Serious mistakes
cannot open file Unable to open file
I/O error closing fileI/O error Closing file
I/O error writing fileI/O error Writing a file
I/O error reading file            I/O error Reading a file
out of memory              A lack of memory
assembler limit : macro parameter name table full      Assembly limit: the macro parameter name table is full
invalid command-line option           Invalid command line argument
nesting level too deep             Nested too deeply
unmatched macro nesting            Incorrect macro nesting
line too long                  Line is too long
unmatched block nesting                   Incorrect nesting of sections and sections
directive must be in control block                The instruction must be in the control segment
error count exceeds 100; stopping assembly             Errors over 100 , stop assembly i
nvalid numerical command-line argument                Invalid command line argument
too many arguments                                     Too many parameters, definitions, conflicts
statement too complex                                   Statement too complicated
Internal Assembler Error                         Internal assembly error
missing source filename                                The source file name could not be found
COFF error writing file                      COFF Error, writing file
invalid debug and browser data; file exceeds line limit        Failure to troubleshoot and browse data; The file exceeded the line limit
cannot find link.exe                              The connector could not be found
cannot find cvpack.exe                          Can't find
cvpack.exe  SEVERE                              Serious mistake
memory operand not allowed in context                  The memory operand could not load the context
immediate operand not allowed                      The current operand cannot be loaded
cannot have more than one ELSE clause per IF block            IF You can only have one segment ELSE clause
extra characters after statement                           Additional characters follow the declaration
symbol type conflict                             Sign type conflict
symbol redefinition                           The symbol has been defined
undefined symbol                          Symbol not defined
non-benign record redefinition                      No definition of beneficial records
syntax error                                Grammar mistakes
syntax error in expression                   There is a syntax error in the expression
invalid type expression                      Invalid type expression
distance invalid for word size of current segment           The size command for the current section is invalid
PROC, MACRO, or macro repeat directive must precede LOCAL      PROC, MACRO, or macro repeat The instruction must be LOCAL before
.MODEL must precede this directive                           .MODEL It has to be before the command
cannot define as public or external                      Cannot be defined as public or external
segment attributes cannot change                         Block and segment properties cannot be replaced
expression expected                   Anticipatory expression
operator expected                      Expected operand
invalid use of external symbol               Invalid external symbols were used
operand must be RECORD type or field            The operand must be RECORD Type or domain
identifier not a record                      No record identifier
record constants may not span line breaks                 Continuous recording cannot exceed line intervals
instruction operands must be the same size        The command operands must be the same length
instruction operand must have size             Command operands must have length
invalid operand size for instruction            The operand length is not valid for an instruction
operands must be in same segment              The operands must be in the same segment
constant expected                         Continuous expected
operand must be a memory expression             The operand must be a memory expression
expression must be a code address             The expression must be a code address
multiple base registers not allowed             Multiple base registers are not allowed
multiple index registers not allowed           Multiple flag registers are not allowed
must be index or base register                  Must be a base or flag register
invalid use of register                     Invalid register used
invalid INVOKE argument                   invalid INVOKE symbol
must be in segment block                  Must be in a region, segment, or block
DUP too complex                          DUP Too complicated
too many initial values for structure                Too much structured base information
statement not allowed inside structure definition         Declarations are not allowed in structures
missing operand for macro operator             The operands of the macro could not be found
line too long
segment register not allowed in context            The context is not allowed to have registers
string or text literal too long                 Text or strings are too long
statement too complex                    Statement too complicated
identifier too long                       The identifier is too long
invalid character in file                 There are invalid characters in the file
missing angle bracket or brace in literal         The same bracket or frame cannot be found in the statement
missing single or double quotation mark in string          Single or double quotation marks could not be found
empty (null) string                No strings
nondigit in number                   Not the total number of
syntax error in floating-point constant           Syntax error in indeterminate direction
real or BCD number not allowed                Don't allow real or BCD coding
text item required                       Required text items
forced error                           Forced error
forced error : value equal to 0                 Standard equals zero
forced error : value not equal to 0             The standard is not zero
forced error : symbol not defined            Symbol not defined
forced error : symbol defined               Symbol defined
forced error : string blank                   The string is empty
forced error : string not blank             The string is not empty
forced error : strings equal              The string is the same
forced error : strings not equal              The strings are not the same
[ELSE]IF2/.ERR2 not allowed : single-pass assembler          [ELSE]IF2/.ERR2 Separate assembly is not allowed
expression too complex for .UNTILCXZ             .UNTILCXZ The expression is too complicated
can ALIGN only to power of 2                    It can only be aligned to 2 The power of
structure alignment must be 1, 2, 4, 8, or 16             The structure alignment must be 1 . 2 . 4 . 8 or 16
expected               predefined
incompatible CPU mode and segment size              Don't match CPU Mode and segment size
LOCK must be followed by a memory operation          LOCK Instructions must follow memory operations
instruction prefix not allowed                    Command prefixes that are not allowed
no operands allowed for this instruction          Instructions have no operands
invalid instruction operands                   Invalid instruction operand
initializer magnitude too large for specified size        The initial specified size is too large
cannot access symbol in given segment or group        Symbols cannot be accessed in a particular segment or class
operands have different frames                  Operands have different structures
cannot access label through segment registers        Tags cannot be accessed in segment registers
jump destination too far                            Jump target too far
jump destination must specify a label           The jump target must specify a tag
instruction does not allow NEAR indirect addressing      The directive does not allow near indirection
instruction does not allow FAR indirect addressing      The directive does not allow far indirection

Above is the common error message in the compilation and Chinese annotations, hope to help you


Related articles: