diff options
Diffstat (limited to 'target-i386/misc_helper.c')
-rw-r--r-- | target-i386/misc_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/misc_helper.c b/target-i386/misc_helper.c index a6a787fbc9..d7be4f4f98 100644 --- a/target-i386/misc_helper.c +++ b/target-i386/misc_helper.c @@ -124,7 +124,7 @@ void helper_cpuid(CPUX86State *env) cpu_x86_cpuid(env, (uint32_t)env->regs[R_EAX], (uint32_t)ECX, &eax, &ebx, &ecx, &edx); env->regs[R_EAX] = eax; - EBX = ebx; + env->regs[R_EBX] = ebx; ECX = ecx; EDX = edx; } |