Specifications
Error! Style not defined. 821
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 821 of 137 Printed: 10/09/00 02:49 PM
A2157 missing right parenthesis
A right parenthesis, ), was missing from a macro function call.
Be sure that parentheses are in pairs if nested.
A2158 type is wrong size for register
An attempt was made to assume a general-purpose register to a type with a different size
than the register.
For example, the following pair of statements causes this error:
ASSUME bx:far ptr byte ; far pointer is 4 or 6 bytes
ASSUME al:word ; al is a byte reg, cannot hold word
A2159 structure cannot be instanced
An attempt was made to create an instance of a structure when there were no fields or
data defined in the structure definition or when ORG was used in the structure definition.
A2160 non-benign structure redefinition : label incorrect
A label given in a structure redefinition either did not exist in the original definition or was
out of order in the redefinition.
A2161 non-benign structure redefinition : too few labels
Not enough members were defined in a structure redefinition.
A2162 OLDSTRUCT/NOOLDSTRUCT state cannot be changed
Once the OLDSTRUCTS or NOOLDSTRUCTS option has been specified and a
structure has been defined, the structure scoping cannot be altered or respecified in the
same module.
A2163 non-benign structure redefinition : incorrect initializers
A STRUCT or UNION was redefined with a different initializer value.
When structures and unions are defined more than once, the definitions must be identical.
This error can be caused by using a variable as an initializer and having the value of the
variable change between definitions.
A2164 non-benign structure redefinition : too few initializers
A STRUCT or UNION was redefined with too few initializers.
When structures and unions are defined more than once, the definitions must be identical.
A2165 non-benign structure redefinition : label has incorrect offset
The offset of a label in a redefined STRUCT or UNION differs from the original
definition.
When structures and unions are defined more than once, the definitions must be identical.
This error can be caused by a missing member or by a member that has a different size
than in its original definition.