Explorar el Código

nasmtests: Re-enable 0x89 mem tests in mov16

The old method understandably triggered the 0x67 address-size override
prefix, which caused the segfault.

(Changed "mov [mem], ax" because that might use op 0xA3.)
Amaan Cheval hace 6 años
padre
commit
ccb9b6cbbf
Se han modificado 1 ficheros con 2 adiciones y 5 borrados
  1. 2 5
      tests/nasm/mov16.asm

+ 2 - 5
tests/nasm/mov16.asm

@@ -18,11 +18,8 @@ myaddress:
     mov ecx, [mydword]
     mov edx, [myaddress]
 
-    ;; Skipping 16-bit 0x89 mem tests since they cause seg faults in gdb:
-    ;; lea di, [myaddress]
-    ;; lea si, [mydword]
-    ;; mov [di+bx], ax
-    ;; mov [si+bx], cx
+    mov [myaddress], cx
+    mov [mydword], dx
 
     ;; The following db's are used since mov reg, reg can be accomplished with several opcodes but
     ;; we want to test these specific ones