Skip to content

Commit

Permalink
Fix mov syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg committed Jun 16, 2019
1 parent bbd4bb0 commit 280552b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_x86_64.h
Expand Up @@ -129,7 +129,7 @@ static __inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx){
*ecx=cpuinfo[2];
*edx=cpuinfo[3];
#else
__asm__ __volatile__("mov %%ecx, 0;"
__asm__ __volatile__("mov $0, %%ecx;"
"cpuid"
: "=a" (*eax),
"=b" (*ebx),
Expand Down

0 comments on commit 280552b

Please sign in to comment.