发布时间:2014-09-11 11:20:04
https://gist.github.com/tolleiv/2721434......【阅读全文】
发布时间:2014-09-03 16:11:15
#include unsigned int veax;unsigned int vebx;unsigned int vedx;unsigned int vecx;//执行CPUID指令void cpuid(unsigned int veax1){asm("cpuid" :"=a"(veax), "=b"(vebx), "=c"(vecx), "=d"(vedx) :"a"(veax));}//做移位操作,把寄存器中的值以“%d”形式.........【阅读全文】