13 lines
262 B
Text
13 lines
262 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 -- (in case mem>#3FFFFFFF)
|
||
|
|
push 12
|
||
|
|
push 7
|
||
|
|
call eax
|
||
|
|
add esp,8
|
||
|
|
mov [res],eax }
|
||
|
|
?res
|
||
|
|
free(mem)
|