about summary refs log tree commit diff stats
path: root/test/samples/x86_32/dg_test_04.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/x86_32/dg_test_04.S')
-rw-r--r--test/samples/x86_32/dg_test_04.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/samples/x86_32/dg_test_04.S b/test/samples/x86_32/dg_test_04.S
new file mode 100644
index 00000000..393430ed
--- /dev/null
+++ b/test/samples/x86_32/dg_test_04.S
@@ -0,0 +1,10 @@
+main:
+	MOV ECX, 0x1
+	JMP lbl1
+lbl1:
+	ADD ECX, 0x2
+	CMP ECX, 0x0
+	JZ lbl1
+end:
+	MOV EAX, EBX
+	RET