|
@@ -384,12 +384,12 @@ Unit Rax86int;
|
|
c:=current_scanner.asmgetchar;
|
|
c:=current_scanner.asmgetchar;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
- if is_register(actasmpattern) then
|
|
|
|
- exit;
|
|
|
|
if is_asmdirective(actasmpattern) then
|
|
if is_asmdirective(actasmpattern) then
|
|
exit;
|
|
exit;
|
|
if is_asmoperator(actasmpattern) then
|
|
if is_asmoperator(actasmpattern) then
|
|
exit;
|
|
exit;
|
|
|
|
+ if is_register(actasmpattern) then
|
|
|
|
+ exit;
|
|
{ allow spaces }
|
|
{ allow spaces }
|
|
while (c in [' ',#9]) do
|
|
while (c in [' ',#9]) do
|
|
c:=current_scanner.asmgetchar;
|
|
c:=current_scanner.asmgetchar;
|
|
@@ -1629,7 +1629,7 @@ Unit Rax86int;
|
|
if (actasmtoken=AS_OFFSET) and
|
|
if (actasmtoken=AS_OFFSET) and
|
|
(cs_create_pic in current_settings.moduleswitches) then
|
|
(cs_create_pic in current_settings.moduleswitches) then
|
|
begin
|
|
begin
|
|
- Consume(AS_OFFSET);
|
|
|
|
|
|
+ Consume(AS_OFFSET);
|
|
oper.opr.ref.refaddr:=addr_pic;
|
|
oper.opr.ref.refaddr:=addr_pic;
|
|
BuildOperand(oper,false);
|
|
BuildOperand(oper,false);
|
|
end
|
|
end
|
|
@@ -1840,9 +1840,7 @@ Unit Rax86int;
|
|
BuildOperand(oper,true);
|
|
BuildOperand(oper,true);
|
|
Consume(AS_RPAREN);
|
|
Consume(AS_RPAREN);
|
|
oper.setsize(l,true);
|
|
oper.setsize(l,true);
|
|
- end
|
|
|
|
- else if (actasmtoken = AS_REGISTER) then
|
|
|
|
- Message(asmr_e_syn_operand);
|
|
|
|
|
|
+ end;
|
|
end;
|
|
end;
|
|
|
|
|
|
AS_SEPARATOR,
|
|
AS_SEPARATOR,
|