summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/seg.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/seg.asm')
-rw-r--r--test-suite/standalone/sassy/tests/seg.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/seg.asm b/test-suite/standalone/sassy/tests/seg.asm
new file mode 100644
index 000000000..be0a849fa
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/seg.asm
@@ -0,0 +1,9 @@
+BITS 32
+section .text
+foo:
+mov [es:eax], dword 3
+add edx, [ds:ebx]
+xor ecx, [cs:4+eax]
+push dword [dword es:4]
+sub eax, [dword fs:foo]
+and dword [dword gs:foo+edx], byte 3