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