(In reply to comment #0)
> On http://www.digitalmars.com/d/1.0/iasm.html in section Operand Types "qword
> ptr" is missing.
>
I've just seen it seems to be a stub since there is no x86_64 support yet and it behaves like "byte ptr".
long x=255;
asm { inc qword ptr x; }
assert (x==0); // passes
Comment #2 by clugdbug — 2008-08-12T03:31:55Z
(In reply to comment #1)
> I've just seen it seems to be a stub since there is no x86_64 support yet and
> it behaves like "byte ptr".
Nonsense. It's been used in floating point code since the dawn of time.
double x;
asm {
fld qword ptr x;
}
But I'm marking this as an accepts-invalid, since your sample code should not compile.