Specifications
Error! Style not defined. 805
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 805 of 121 Printed: 10/09/00 02:49 PM
A2009 syntax error in expression
An expression on the current line contained a syntax error. This error message may also
be a side-effect of a preceding program error.
A2010 invalid type expression
The operand to THIS or PTR was not a valid type expression.
A2011 distance invalid for word size of current segment
A procedure definition or a code label defined with LABEL specified an address size that
was incompatible with the current segment size.
One of the following occurred:
u A NEAR16 or FAR16 procedure was defined in a 32-bit segment.
u A NEAR32 or FAR32 procedure was defined in a 16-bit segment.
u A code label defined with LABEL specified FAR16 or NEAR16 in a 32-bit segment.
u A code label defined with LABEL specified FAR32 or NEAR32 in a 16-bit segment.
A2012 PROC, MACRO, or macro repeat directive must precede LOCAL
A LOCAL directive must be immediately preceded by a MACRO, PROC
, macro repeat
directive (such as REPEAT, WHILE, or FOR), or another LOCAL directive.
A2013 .MODEL must precede this directive
A simplified segment directive or a .STARTUP or .EXIT
directive was not preceded by a
.MODEL directive.
A .MODEL directive must specify the model defaults before a simplified segment
directive, or a .STARTUP or .EXIT directive may be used.
A2014 cannot define as public or external : identifier
Only labels, procedures, and numeric equates can be made public or external using
PUBLIC, EXTERN, or EXTERNDEF. Local code labels cannot be made public.
A2015 segment attributes cannot change : attribute
A segment was reopened with different attributes than it was opened with originally.
When a SEGMENT directive opens a previously defined segment, the newly opened
segment inherits the attributes the segment was defined with.
A2016 expression expected
The assembler expected an expression at the current location but found one of the
following:
u A unary operator without an operand
u A binary operator without two operands
u An empty pair of parentheses, ( ), or brackets, [ ]