From: khamidou Date: Thu, 20 Jan 2011 12:20:10 +0000 (+0100) Subject: added some new tests X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c0c4d7daa236b89e43d10d758e64160236a6c8d8;p=miniforth.git added some new tests --- 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