mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
30c3ad1024
It's useful to be able to disassemble a test case, so avoid mixing data bytes and code.
25 lines
235 B
NASM
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
|