Pop_Segments: pop cs is not a valid opcode

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis committed 2020-12-04 01:17:39 +02:00
1 parent d481bd4ffc
commit f6ef1fc8b5
1 file changed
+1 -5
+1 -5
View File
@@ -2,7 +2,7 @@
%ifdef CONFIG
{
"RegData": {
"RSP": "0xE000001C"
"RSP": "0xE0000040"
},
"Mode": "32BIT"
}
@@ -16,26 +16,22 @@ push eax
push eax
push eax
push eax
push eax
push ax
push ax
push ax
push ax
push ax
push ax
; Only pops the segments
; Doesn't check for a correct segment value
; Just ensures we are popping the correct amount of data
pop cs
pop ss
pop ds
pop es
pop fs
pop gs
o16 pop cs
o16 pop ss
o16 pop ds
o16 pop es