From 8f030e12e3a80a2e28142425c4001120f324167f Mon Sep 17 00:00:00 2001 From: TomW Date: Tue, 8 Jul 2014 22:06:48 +0100 Subject: [PATCH] Added REP NOP / PAUSE instruction, needed for Windows 2000 installer. Patch from SA1988. --- src/386.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/386.c b/src/386.c index b912f3b..28dc7e7 100644 --- a/src/386.c +++ b/src/386.c @@ -663,6 +663,9 @@ void rep386(int fv) if (c > 0) { firstrepcycle = 0; pc = ipc; if (ssegs) ssegs++; } else firstrepcycle = 1; break; + case 0x90: case 0x190: /*REP NOP*/ + case 0x290: case 0x390: + break; case 0xA4: case 0x1A4: /*REP MOVSB*/ if (c>0) {