Hello,
i try copy mystring to st in assembler.
Can someone give me an advice how to do this.
import std.stdio;
void main()
{
char[] mystring = "Hey Assembler\n";
char[] st;
asm
{
mov EAX, dword ptr [mystring+4];
mov st,EAX;
}
writefln("st: ", st);
}
I get a Segmentation fault .
Thanks