global rdtsc section .text rdtsc: mfence lfence rdtsc lfence shl rdx, 32 mov edx, eax mov rax, rdx ret