[DUG] Assembler

Judd, Struan (eCargo) Struan.Judd at chh.co.nz
Thu Sep 23 16:56:41 NZST 2010


LOL.

And possibly ones about Cowboy programmers. (it's just where my mind
went)

TTFN, Struan

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

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

_______________________________________________
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
DISCLAIMER: This electronic message together with any attachments is 
confidential. If you are not the intended recipient, do not copy, disclose or 
use the contents in any way. Please also advise us by return e-mail that you 
have received the message in error and then please destroy it together with its 
attachments. Carter Holt Harvey is not responsible for any changes made to this 
message and / or any attachments after sending by Carter Holt Harvey. We use 
virus scanning software but exclude all liability for viruses or anything 
similar in this email or any attachment.



More information about the Delphi mailing list