(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)

Fix warning in graph_gui.c with const problem
This commit is contained in:
Darkvater
2005-10-02 22:39:56 +00:00
parent e8fac6c6cb
commit a3d40a29fc
13 changed files with 127 additions and 24 deletions

17
win64.asm Normal file
View File

@@ -0,0 +1,17 @@
.CODE
PUBLIC _get_save_esp
_get_save_esp:
MOV RAX,RSP
RET
PUBLIC _rdtsc
_rdtsc:
RDTSC
MOV RCX,RDX
SHL RCX,32
AND RAX,0FFFFFFFFh
OR RAX,RCX
RET
END