summaryrefslogtreecommitdiff
path: root/test/zerobyte.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/zerobyte.asm')
-rw-r--r--test/zerobyte.asm22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/zerobyte.asm b/test/zerobyte.asm
new file mode 100644
index 0000000..c3a0441
--- /dev/null
+++ b/test/zerobyte.asm
@@ -0,0 +1,22 @@
+;Testname=test; Arguments=-fbin -ozerobyte.bin; Files=stdout stderr zerobyte.bin
+ 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