Array indexing/offset inline asm ambiguity

Walter Bright newshound2 at digitalmars.com
Sat Mar 16 23:46:14 PDT 2013


On 3/16/2013 11:40 PM, 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.

Symbols and syntax are very different things.


More information about the Digitalmars-d mailing list