- Emulate instructions prefixed with 'rep' correctly: set the CX
register to zero. Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> PR: 35147
This commit is contained in:
parent
44da26eeab
commit
722e6c0882
@ -276,6 +276,7 @@ emu_instr(regcontext_t *REGS)
|
||||
R_IP = --ip; /* Move IP back to the 'rep' instruction. */
|
||||
return -1;
|
||||
}
|
||||
R_CX = 0;
|
||||
break;
|
||||
default:
|
||||
/* Unknown instruction, get out of here and let trap.c:sigbus()
|
||||
|
Loading…
Reference in New Issue
Block a user