about summary refs log tree commit diff stats
path: root/test/samples/x86_32/dg_test_01.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/x86_32/dg_test_01.S')
-rw-r--r--test/samples/x86_32/dg_test_01.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/samples/x86_32/dg_test_01.S b/test/samples/x86_32/dg_test_01.S
new file mode 100644
index 00000000..4f4ff80d
--- /dev/null
+++ b/test/samples/x86_32/dg_test_01.S
@@ -0,0 +1,9 @@
+main:
+	MOV ECX, 0x1
+	JMP lbl1
+lbl1:
+	MOV EBX, 0x2
+	JMP lbl2
+lbl2:
+	LEA EAX, DWORD PTR [EBX + ECX]
+	RET