alloc(newmem,2048,"atio6axx.dll"+9EE0B4) 
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
// move x y
mov [01060000],rsi
inc [rsi+18]
xor edx,edx

exit:
jmp returnhere

"atio6axx.dll"+9EE0B4:
jmp newmem
returnhere:

