mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 19:29:07 +02:00
* fixes after 5148 changes for ppc platform
git-svn-id: trunk@5150 -
This commit is contained in:
parent
242113b873
commit
35228f0391
@ -611,7 +611,6 @@ Unit rappcgas;
|
|||||||
|
|
||||||
function tppcattreader.is_asmopcode(const s: string):boolean;
|
function tppcattreader.is_asmopcode(const s: string):boolean;
|
||||||
var
|
var
|
||||||
str2opentry: tstr2opentry;
|
|
||||||
cond : tasmcondflag;
|
cond : tasmcondflag;
|
||||||
hs : string;
|
hs : string;
|
||||||
|
|
||||||
@ -636,12 +635,11 @@ Unit rappcgas;
|
|||||||
dec(ord(hs[0]));
|
dec(ord(hs[0]));
|
||||||
actcondition.dirhint:=DH_Plus;
|
actcondition.dirhint:=DH_Plus;
|
||||||
end;
|
end;
|
||||||
str2opentry:=tstr2opentry(iasmops.search(hs));
|
actopcode := tasmop(ptrint(iasmops.find(hs)));
|
||||||
if assigned(str2opentry) then
|
if actopcode <> A_NONE then
|
||||||
begin
|
begin
|
||||||
if actcondition.dirhint<>DH_None then
|
if actcondition.dirhint<>DH_None then
|
||||||
message1(asmr_e_unknown_opcode,actasmpattern);
|
message1(asmr_e_unknown_opcode,actasmpattern);
|
||||||
actopcode:=str2opentry.op;
|
|
||||||
actasmtoken:=AS_OPCODE;
|
actasmtoken:=AS_OPCODE;
|
||||||
is_asmopcode:=true;
|
is_asmopcode:=true;
|
||||||
exit;
|
exit;
|
||||||
|
@ -609,7 +609,6 @@ end;
|
|||||||
|
|
||||||
function tppcattreader.is_asmopcode(const s: string): boolean;
|
function tppcattreader.is_asmopcode(const s: string): boolean;
|
||||||
var
|
var
|
||||||
str2opentry: tstr2opentry;
|
|
||||||
cond: tasmcondflag;
|
cond: tasmcondflag;
|
||||||
hs: string;
|
hs: string;
|
||||||
|
|
||||||
@ -634,12 +633,11 @@ begin
|
|||||||
dec(ord(hs[0]));
|
dec(ord(hs[0]));
|
||||||
actcondition.dirhint := DH_Plus;
|
actcondition.dirhint := DH_Plus;
|
||||||
end;
|
end;
|
||||||
str2opentry := tstr2opentry(iasmops.search(hs));
|
actopcode := tasmop(ptrint(iasmops.Find(hs)));
|
||||||
if assigned(str2opentry) then
|
if actopcode <> A_NONE then
|
||||||
begin
|
begin
|
||||||
if actcondition.dirhint <> DH_None then
|
if actcondition.dirhint <> DH_None then
|
||||||
message1(asmr_e_unknown_opcode, actasmpattern);
|
message1(asmr_e_unknown_opcode, actasmpattern);
|
||||||
actopcode := str2opentry.op;
|
|
||||||
actasmtoken := AS_OPCODE;
|
actasmtoken := AS_OPCODE;
|
||||||
is_asmopcode := true;
|
is_asmopcode := true;
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user