Specifications

Error! Style not defined. 807
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 807 of 123 Printed: 10/09/00 02:49 PM
A2028 expression must be a code address
An expression evaluating to a code address was expected.
One of the following occurred:
uu SHORT was not followed by a code address.
uu NEAR PTR or FAR PTR was applied to something that was not a code address.
A2029 multiple base registers not allowed
An attempt was made to combine two base registers in a memory expression.
For example, the following expressions cause this error:
[bx+bp]
[bx][bp]
In another example, given the following definition:
id1 proc arg1:byte
either of the following lines causes this error:
mov al, [bx].arg1
lea ax, arg1[bx]
A2030 multiple index registers not allowed
An attempt was made to combine two index registers in a memory expression.
For example, the following expressions cause this error:
[si+di]
[di][si]
A2031 must be index or base register
An attempt was made to use a register that was not a base or index register in a memory
expression.
For example, the following expressions cause this error:
[ax]
[bl]