On 17.03.2013 07:40, deadalnix wrote:
On Sunday, 17 March 2013 at 01:54:27 UTC, Walter Bright wrote:
On 3/16/2013 5:24 PM, David Nadlinger wrote:
But Walter seems to think this issue
not worth addressing: http://d.puremagic.com/issues/show_bug.cgi?id=9738
Not exactly. I felt:
The inline assembler uses Intel syntax, and for better or worse,
that's what it
is.
We need to either stick with it, as it is fairly well understood by asm
programmers, or use D syntax. Some hybrid in between will be liked by
nobody.
It is already mixed as regs comes from D. D symbol should behave as D,
ASM symbols should behave as asm.
I agree with Walter here.
This might be a surprise for UNIX guys, but it is the way inline
assembler works in Turbo Pascal/Delphi/C/C++ compilers on Windows, at
least on the compilers from Borland and Microsoft.
--
Paulo