From f6ef1fc8b5bfe8a1a42e4b694db86fde1786c18e Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Thu, 3 Dec 2020 21:16:27 +0200 Subject: [PATCH] Pop_Segments: pop cs is not a valid opcode --- unittests/32Bit_ASM/Primary/Pop_Segments.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/unittests/32Bit_ASM/Primary/Pop_Segments.asm b/unittests/32Bit_ASM/Primary/Pop_Segments.asm index 4ecb074da..4e4f4352f 100644 --- a/unittests/32Bit_ASM/Primary/Pop_Segments.asm +++ b/unittests/32Bit_ASM/Primary/Pop_Segments.asm @@ -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