Skip to content
Permalink
Browse files

Fix mov syntax

  • Loading branch information...
martin-frbg committed Jun 16, 2019
1 parent bbd4bb0 commit 280552b988e4377d95bc2f77bc07d2c00bb544e2
Showing with 1 addition and 1 deletion.
  1. +1 −1 common_x86_64.h
@@ -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),

0 comments on commit 280552b

Please sign in to comment.
You can’t perform that action at this time.