t7x/deps/udis86/tests/asm/32/sext.asm

24 lines
400 B
NASM
Raw Normal View History

2023-12-06 17:43:39 -05:00
[bits 32]
;; test sign extension
adc ax, -100
and edx, -3
or dx, -1000
or dx, -1
add edx, -1000
imul dx, bx, -100
imul edx, ebx, -1
imul edx, ebx, -128
imul edx, ebx, -129
imul ax, bx, -129
sub dword [eax], -1
sub word [eax], -2000
test eax, 1
test eax, -1
push byte -1
push word -1
push dword -1000
push word -1000