summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-22 20:48:01 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-22 20:48:01 +0000
commite4b92544473d7d7a8da4b4d8dea76b9713f6bd8e (patch)
tree4f668b14742ccf0bb4be0218fb8f88cf985e0200
parent8c1da7b3cea0acbf138bd0f984cf4d14d94f69a1 (diff)
downloadnasm-e4b92544473d7d7a8da4b4d8dea76b9713f6bd8e.tar.gz
Add 16-bit imul test for strictness
-rw-r--r--test/expimp.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/expimp.asm b/test/expimp.asm
index 117b8549..2db0338c 100644
--- a/test/expimp.asm
+++ b/test/expimp.asm
@@ -28,6 +28,13 @@
add eax,strict dword 2 ; Explicit Strict
add eax,strict dword 123456h ; Explicit Strict
add eax,strict byte 123456h ; Explicit Strict Truncation
+
+ imul dx,3 ; Implicit
+ imul dx,byte 3 ; Explicit
+ imul dx,word 3 ; Explicit
+ imul dx,strict byte 3 ; Explicit Strict
+ imul dx,strict word 3 ; Explicit Strict
+
;
; Same thing with branches
;