[fpc-devel]problem in AT&T syntax assembler :(

Michail A.Baikov xakep at gamedot.ru
Thu Jul 25 10:04:48 CEST 2002


I have INTEL variant of my code:

{$ASMMODE INTEL}
begin
asm
    add ecx, offset @@k
@@k:
end
end.

in disasm i get next code: add ecx, 00418440

But, i need this code in AT&T syntax.

I try write next code:

 addl .Lk,%ecx

but disasm get: add ecx, dword ptr [00418440]

What's my problem?

P.S: FPC 1.0.6


Kind Regards,
Michail.
_________________________________
Michail A.Baikov,
Linderdaum Team
http://www.gamedot.ru
http://linderdaum.gamedot.ru

----- Original Message -----
From: "Sergey Korshunoff" <seyko at comail.ru>
To: <fpc-devel at deadlock.et.tudelft.nl>
Sent: Monday, June 17, 2002 4:43 AM
Subject: [fpc-devel]a fpc 1.1 make cycle problem


> Hi!
>
> I think there is a more errors in fpc v1.1 (even after recent patch for
ECX)
> What is the problem?
>
> I can not perform fpc 1.1 make cycle with OPT=-CR option:
>    ppc2 is crashed when it try to compile system.pp
>
> I found  that this is because tdictionery.rename do not return a nil
> (but a rundom value) when it can not find old node.
>
> But as I understand, we must always find an old node????
> (After patching a tdictionery.rename to return a nil
> when we do not find a old node, ppc2 start droping a job
> in another place)
>
> Regards,
> Sergey Korshunoff
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>





More information about the fpc-devel mailing list