www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - inline asm and const init error

Hi,

Under windows when i try to compile those lines

extern(C) void func() {

asm {
naked;
di -5;
}
}

i get this error: const init;
does di (& co) accpets only literals integers (without a leadnig -). if i've
well understood the spec, expressions are also allowed for di.
May 01 2006