|
@@ -373,7 +373,8 @@ Unit raavrgas;
|
|
|
oper.opr.ref.offset:=BuildConstExpression(True,False);
|
|
|
|
|
|
{ absolute memory addresss? }
|
|
|
- if (actopcode in [A_LDS,A_STS]) and (actasmtoken<>AS_COMMA) then
|
|
|
+ if ((actopcode = A_LDS) and (actasmtoken <> AS_SEPARATOR)) or
|
|
|
+ ((actopcode = A_STS) and (actasmtoken <> AS_COMMA)) then
|
|
|
begin
|
|
|
if not(MaybeBuildReference) then
|
|
|
Message(asmr_e_invalid_reference_syntax);
|