mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
Add 16-bit imul test for strictness
This commit is contained in:
parent
8c1da7b3ce
commit
e4b9254447
@ -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
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user