- 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:
robert 2002-02-26 10:13:35 +00:00
parent 44da26eeab
commit 722e6c0882

View File

@ -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()