projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added basic tests for stack and arithmetic IMPs.
[vvhitespace]
/
tests
/
1002_stack_dup.pvvs
diff --git a/tests/1002_stack_dup.pvvs
b/tests/1002_stack_dup.pvvs
new file mode 100644
(file)
index 0000000..
f405eeb
--- /dev/null
+++ b/
tests/1002_stack_dup.pvvs
@@ -0,0
+1,7
@@
+# This test verifies stack IMP duplicate.
+
+SSSTSSSSSTN | ST: Push +65 (ASCII A)
+SNS | ST: Duplicate TOS
+TNSS | IO: Output character
+TNSS | IO: Output character
+NNN | FC: Terminate program