tlang/test.d

34 lines
439 B
D

module simple;
void main()
{
asm
{
mov R15, RSP;
}
asm
{
sub RSP, 4;
}
asm
{
mov R14B, 65;
}
asm
{
mov RSP, R15;
}
int h = -1;
h = *((&h)-4);
import std.stdio;
writeln(h);
}