pcem/src/x86_ops_msr.h
2013-05-27 19:56:33 +01:00

13 lines
279 B
C

static int opRDTSC(uint32_t fetchdat)
{
if (!cpu_hasrdtsc)
{
pc = oldpc;
x86illegal();
return 0;
}
EAX = tsc & 0xffffffff;
EDX = tsc >> 32;
cycles--;
return 0;
}