Updated #includes for stdlib.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 28 Jul 2019 20:27:46 +0000 (13:27 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 28 Jul 2019 20:27:46 +0000 (13:27 -0700)
stdlib/heap.pvvs
stdlib/logic.pvvs
stdlib/stdio.pvvs

index 2c5eb79..4626995 100644 (file)
@@ -13,6 +13,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 +53,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 +96,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 +139,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 +206,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.
index 0003380..e8f63cb 100644 (file)
@@ -35,6 +35,7 @@ NTN                     | RTS
 @ Return Stack:
 @   X ^ Y
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   X ^ Y
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTSTSSTN             | Mark: 101001 (and)
 
 @ Prepare the stack for computation.
 NSSVTSTSSTN             | Mark: 101001 (and)
 
 @ Prepare the stack for computation.
@@ -111,6 +112,7 @@ NTN                     | RTS
 @ Return Stack:
 @   X xor Y
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   X xor Y
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+#include <stack.pvvs>
 NSSVTSTSTTN             | Mark: 101011 (xor)
 SNS                     | DUP
 SSSTTN                  | PUSH 3
 NSSVTSTSTTN             | Mark: 101011 (xor)
 SNS                     | DUP
 SSSTTN                  | PUSH 3
index 539df7d..54bb2ac 100644 (file)
@@ -61,8 +61,8 @@ NTN                     | RTS
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 NSSVTSSTN               | Mark: 1001 (print number from stack)
 SNS                     | DUP
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 NSSVTSSTN               | Mark: 1001 (print number from stack)
 SNS                     | DUP
-NSTTSSSSTSN             | JSR > 1000010
-NSTTSSSSTTN             | JSR > 1000011
+NSTTSSSSTSN             | JSR > 1000010 (printstacknumbersign)
+NSTTSSSSTTN             | JSR > 1000011 (printstacknumbermagnitude)
 NTN                     | RTS
 
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 NTN                     | RTS
 
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ -154,8 +154,7 @@ NTN                     | RTS
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @ Return Stack:
 @   <empty>
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-#include <heap.pvvs>
-#include <string.pvvs>
+#include <stack.pvvs>
 NSSVTSSSN               | Mark: 1000 (printf)
 
 @ If the stack contains an empty string (i.e. just an ASCII '\0'), the next
 NSSVTSSSN               | Mark: 1000 (printf)
 
 @ If the stack contains an empty string (i.e. just an ASCII '\0'), the next