12 lines
277 B
Text
12 lines
277 B
Text
atom mem = allocate(9)
|
|
poke(mem,{#8B,#44,#24,#04,#03,#44,#24,#08,#C3})
|
|
integer res
|
|
#ilASM{ mov eax,[mem]
|
|
call :%pLoadMint -- eax:=(int32)eax, in case mem>#3FFFFFFF
|
|
push 12
|
|
push 7
|
|
call eax
|
|
add esp,8
|
|
mov [res],eax }
|
|
?res
|
|
free(mem)
|