summaryrefslogtreecommitdiff
path: root/win64.asm
blob: 21bfebbde3a0593c9d93588ef9bee18fec8596b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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