# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# All rights reserved.
+# See LICENSE.txt file for copyright and license details.
####################################################################################################
# Configuration
# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# All rights reserved.
+# See LICENSE.txt file for copyright and license details.
EXAMPLES != find . -mindepth 1 -maxdepth 1 -type d
+++ /dev/null
-# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# All rights reserved.
-
-include ../config.mk
-
-all: randomheap
-
-randomheap:
- $(CPP) $(CPP_FLAGS) -o temp.pvvs randomheap.pvvs
- $(VVS_COMPILER) -i temp.pvvs -o randomheap.vvs
- @rm -f temp.pvvs
-
-run: randomheap
- $(VVS_INTERPRETER) -i randomheap.vvs
-
-clean:
- @rm -f randomheap.vvs temp.pvvs
+++ /dev/null
-@@ Seed the RNG
-SSSSN | PUSH 0 (ptr)
-SSSTTSTTTTSTSTSTTSTTSTTTTTSTTTSTTTTN | PUSH Seed value
-TTS | STORE
-
-@@ Populate heap[18]-heap[29] with random values
-SSSTSTTN | PUSH 11
-SSSTSSTSN | PUSH 18
-NSTTTSTSN | JSR > 11010 (memrand)
-
-@@ Print heap[16]-heap[31]
-SSSTTTTTN | PUSH 31
-SSSTSSSSN | PUSH 16
-NSTTTTSSSN | JSR > 111000 (dump heap)
-NNN | DIE
-
-#include <debug.pvvs>
-#include <heap.pvvs>
/*
* (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
- * All rights reserved.
+ * See LICENSE.txt file for copyright and license details.
*/
#include <stdio.h>
/*
* (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
- * All rights reserved.
+ * See LICENSE.txt file for copyright and license details.
*/
#include <stdio.h>