nasm/test/zerobyte.asm
H. Peter Anvin 30c3ad1024 zerobyte.asm: use a real instruction to avoid confusing ndisasm
It's useful to be able to disassemble a test case, so avoid mixing
data bytes and code.
2007-10-05 17:44:16 -07:00

25 lines
235 B
NASM

bits 64
mov eax,bar-foo
foo:
add al,r10b
bar:
lldt ax
lldt r8w
ltr [rax]
sldt eax
sldt r8d
str eax
str rax
str r8d
str r8
verr ax
verr r8w
verw ax
verw r8w
fmaddps xmm0,xmm0,xmm0,xmm0
fmaddps xmm8,xmm8,xmm8,xmm8