Is the world coming to an end?

KennyTM~ kennytm at gmail.com
Sun Apr 3 10:00:22 PDT 2011


On Apr 4, 11 00:49, Adam D. Ruppe wrote:
> Ulrik Mikaelsson wrote:
>> If you're looking for uncommonly used language-features that could
>> easily be otherwise solved, go ahead and remove asm instead. I'll
>> guess it's about as uncommon as octal literals (or maybe even more),
>> have simple other solution (just compile it separately and link),
>> and has much greater impact on the language and the compiler.
>
> Actually, inline asm can't be replaced. If you link it separately,
> it won't be inlined...

Talking of asm, would the following be expected to work?

-------
import std.conv;
void main() {
     asm {
         di octal!777;
         mov EAX, octal!777;
     }
}
-------


More information about the Digitalmars-d mailing list