asm code and an inout function argument

Vladimir A. Reznichenko kalessil at gmail.com
Fri May 15 03:24:16 PDT 2009


I have a function:

void test (inout uint a)
{
	asm
	{
		mov a, 0x25;
	}
}

The trouble is that the function's call doesn't change the a variable.
Any ideas?




More information about the Digitalmars-d mailing list