From 37bedaa8df1b323bbc53e89dd1cb17c37f53b5a4 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Thu, 22 Oct 2015 18:01:30 -0700 Subject: [PATCH] Fix restartability of POP [mem] when a page fault occurs --- modules/pcjs/lib/x86ops.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/pcjs/lib/x86ops.js b/modules/pcjs/lib/x86ops.js index ae0657991..0e1c64539 100644 --- a/modules/pcjs/lib/x86ops.js +++ b/modules/pcjs/lib/x86ops.js @@ -2385,6 +2385,7 @@ X86.opPOPmw = function POPmw() this.regXX = this.popWord(); this.aOpModGrpWord[this.getIPByte()].call(this, X86.aOpGrpPOPw, X86.fnSRCxx); + this.opLSP = X86.ADDR_INVALID; };