win64.asm
author Darkvater
Tue, 02 May 2006 13:07:23 +0000
branch0.4
changeset 9983 f04c5d60e63f
parent 9959 984493ab6fff
permissions -rw-r--r--
(svn r4668) - Backport from trunk (r4301):
Fix: the maxlength parameter of Textbuf is supposed to be the siz
of the buffer (so length of string + '\0'), but in the code it
was a mix of both.
		.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