Removing old example of "print number from stack".
authorAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 30 Mar 2020 09:22:16 +0000 (02:22 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 30 Mar 2020 09:22:16 +0000 (02:22 -0700)
examples/print-number-from-stack/Makefile [deleted file]
examples/print-number-from-stack/printnum.pvvs [deleted file]

diff --git a/examples/print-number-from-stack/Makefile b/examples/print-number-from-stack/Makefile
deleted file mode 100644 (file)
index de5bfc0..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# All rights reserved.
-
-include ../config.mk
-
-all: printnum
-
-printnum:
-       $(CPP) $(CPP_FLAGS) -o temp.pvvs printnum.pvvs
-       $(VVS_COMPILER) -i temp.pvvs -o printnum.vvs
-       @rm -f temp.pvvs
-
-run: printnum
-       $(VVS_INTERPRETER) -i printnum.vvs
-
-clean:
-       @rm -f printnum.vvs temp.pvvs
diff --git a/examples/print-number-from-stack/printnum.pvvs b/examples/print-number-from-stack/printnum.pvvs
deleted file mode 100644 (file)
index 742f1db..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@@ This program outputs "-42424242"
-
-SSTTSTSSSSTTTSTSTSTTTTSTTSSTSN         | ST: Push -42424242
-NSTTSSTN                       | FC: JSR>1001 (print number from stack; see stdlib)
-SSSTSTSN                       | ST: Push +10 (ASCII '\n')
-TNSS                           | IO: Putchar
-NNN                            | FC: Terminate program
-
-#include <stdio.pvvs>