Mercurial > projects > dstress
view run/a/asm_movnti_01.d @ 701:93c604903b9d
small iasm update
author | thomask |
---|---|
date | Wed, 05 Oct 2005 08:12:26 +0000 |
parents | |
children | a7310ceac844 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.a.asm_movnti_01; int main(){ version(D_InlineAsm){ uint a = 0x1234_ABCD; uint b = 2; asm{ mov EAX, a; movnti b, EAX; } assert(a==b); assert(b==0x1234_ABCD); return 0; }else{ pragma(msg, "no Inline asm support"); static assert(0); } }