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.)
This commit is contained in:
Amaan Cheval 2018-04-21 11:27:15 +05:30 committed by Fabian
parent 795ba8ad42
commit ccb9b6cbbf

View file

@ -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