From c0c4d7daa236b89e43d10d758e64160236a6c8d8 Mon Sep 17 00:00:00 2001 From: khamidou Date: Thu, 20 Jan 2011 13:20:10 +0100 Subject: [PATCH] added some new tests --- tests/t5.as | 7 +++++++ tests/t6.as | 9 +++++++++ tests/t7.as | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 tests/t5.as create mode 100644 tests/t6.as create mode 100644 tests/t7.as diff --git a/tests/t5.as b/tests/t5.as new file mode 100644 index 0000000..eeda5f1 --- /dev/null +++ b/tests/t5.as @@ -0,0 +1,7 @@ +;; comm. +push 20 +jmp b +dprint +b: + inc + dprint \ No newline at end of file diff --git a/tests/t6.as b/tests/t6.as new file mode 100644 index 0000000..b1c4752 --- /dev/null +++ b/tests/t6.as @@ -0,0 +1,9 @@ +jmp B +A: inc + dprint + push 0 + ret + +B: + push 20 + call A \ No newline at end of file diff --git a/tests/t7.as b/tests/t7.as new file mode 100644 index 0000000..a72be5a --- /dev/null +++ b/tests/t7.as @@ -0,0 +1,6 @@ +push 20 +A: inc + dprint + jmp B + +B: jmp A \ No newline at end of file -- 2.43.0