First draft of a real README for the VVS stdlib.
[vvhitespace] / stdlib / heap.pvvs
index 2c5eb79..81fe610 100644 (file)
@@ -1,3 +1,6 @@
+@ (c) 2020 Aaron Taylor <ataylor at subgeniuskitty dot com>
+@ See LICENSE.txt file for copyright and license details.
+
 #ifndef VVS_STDLIB_HEAP
 #define VVS_STDLIB_HEAP
 
 #ifndef VVS_STDLIB_HEAP
 #define VVS_STDLIB_HEAP
 
@@ -13,6 +16,7 @@
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTTSSSN              | Mark: 11000 (memset)
 
 @ Store 'pattern' into one memory location on each pass through this loop.
 NSSVTTSSSN              | Mark: 11000 (memset)
 
 @ Store 'pattern' into one memory location on each pass through this loop.
@@ -52,6 +56,7 @@ NTN                     | RTS
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTTSSTN              | Mark: 11001 (memcpy)
 
 @ Copy one word on each pass through this loop.
 NSSVTTSSTN              | Mark: 11001 (memcpy)
 
 @ Copy one word on each pass through this loop.
@@ -94,6 +99,7 @@ NTN                     | RTS
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 #include <math.pvvs>
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 #include <math.pvvs>
+#include <stack.pvvs>
 NSSVTTSTSN              | Mark: 11010 (memrand)
 
 @ Store random word into one memory location on each pass through this loop.
 NSSVTTSTSN              | Mark: 11010 (memrand)
 
 @ Store random word into one memory location on each pass through this loop.
@@ -136,6 +142,7 @@ NTN                     | RTS
 @ Return Stack:
 @   retvalue <-- TOS
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   retvalue <-- TOS
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTTSTTN              | Mark: 11011 (memcmp)
 
 @ Compare one word on each pass through this loop.
 NSSVTTSTTN              | Mark: 11011 (memcmp)
 
 @ Compare one word on each pass through this loop.
@@ -202,6 +209,7 @@ NTN                     | RTS
 @ Return Stack:
 @   pointer <-- TOS
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   pointer <-- TOS
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTTTSSN              | Mark: 11100 (memsrch)
 
 @ Setup an 'offset counter' on the stack.
 NSSVTTTSSN              | Mark: 11100 (memsrch)
 
 @ Setup an 'offset counter' on the stack.