Guest User

Untitled

a guest
Dec 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #include<stdio.h>
  2. int eax_value = 0;
  3.  
  4.  
  5. void cpuid(){
  6. __asm__ volatile ("movl eax_value,%eax \n\t"
  7. "cpuid");
  8. }
  9.  
  10.  
  11. int main(void){
  12. cpuid();
  13. return 0;
  14. }
Add Comment
Please, Sign In to add comment