From 6bc4be448bb1625c4542567ce6f910bc78dfdaaa Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Mon, 30 Mar 2020 02:22:16 -0700 Subject: [PATCH] Removing old example of "print number from stack". --- examples/print-number-from-stack/Makefile | 17 ----------------- examples/print-number-from-stack/printnum.pvvs | 9 --------- 2 files changed, 26 deletions(-) delete mode 100644 examples/print-number-from-stack/Makefile delete mode 100644 examples/print-number-from-stack/printnum.pvvs diff --git a/examples/print-number-from-stack/Makefile b/examples/print-number-from-stack/Makefile deleted file mode 100644 index de5bfc0..0000000 --- a/examples/print-number-from-stack/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# (c) 2019 Aaron Taylor -# 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 index 742f1db..0000000 --- a/examples/print-number-from-stack/printnum.pvvs +++ /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 -- 2.20.1