Added test for all stdio.pvvs subroutines.
[vvhitespace] / stdlib_tests / 6002_printheapstring.pvvs
diff --git a/stdlib_tests/6002_printheapstring.pvvs b/stdlib_tests/6002_printheapstring.pvvs
new file mode 100644 (file)
index 0000000..68e4942
--- /dev/null
@@ -0,0 +1,12 @@
+A"test"
+SSSTSSSSSN      | PUSH 32 (address)
+SSSTSSN         | PUSH 4 (count)
+NSTTTTTTN       | JSR > 11111 (spew)
+
+SSSTSSSSSN      | PUSH 32 (address)
+NSTTSSSTSTN     | JSR > 1000101 (printheapstring)
+
+NNN             | DIE
+
+#include <heap.pvvs>
+#include <stdio.pvvs>