[DUG] Assembler

Jolyon Smith jsmith at deltics.co.nz
Thu Sep 23 16:46:37 NZST 2010


Must be the "nearly Friday effect":  I read that directive as:

  {$assmode intel}

Which made me wonder what other settings might be valid for such a
directive...

:D 

(cue jokes about Big/Little Endians ... )


-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Todd
Sent: Thursday, 23 September 2010 16:19
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Assembler

Hi Paul

I told a lie. {$asmmode intel} does work, but not if you foolishly put 
it inside the asm statement. Duh.

However now I'm getting errors like

Error: Asm: 16 or 32 Bit references not supported

For simple statements like

     mov   eax,[ebp]

as well as

   MOV     EAX,[EAX].TSparseList.FList

Clearly it doesn't like the square brackets.

Todd.

> Hi all
>
> Bad form to reply to myself but...
>
>    
>> Looking on the freepascal site, here is a bug report (dated today no
>> less) about some bugs in the freepascal assembler that are
>> using intel syntax on x86_64.
>>      
> Actually, it's not dated today - it's dated from last year. Mea culpa -
> I was seeing the date at the top of the form which is just todays date -
> date of viewing.
>
>    
>> http://bugs.freepascal.org/view.php?id=14862
>>
>> So it would appear that it's definitely possible but possibly
>> only in the latest builds or with a different switch to enable it?
>>      
> Further to that, I note the product version in that report is 2.5.1
> which is the development codeline of freepascal, not the stable codeline
> which is version 2.4.0 so it _might_ be that intel syntax for x84_64
> only exists in the 2.5.x development codeline.
>
> Cheers,
>    Paul.
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
>    

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe



More information about the Delphi mailing list