From: Aaron Taylor Date: Sun, 28 Jul 2019 20:27:46 +0000 (-0700) Subject: Updated #includes for stdlib. X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/commitdiff_plain/149f16fd623620a4c601dd11f26e5999b206730c Updated #includes for stdlib. --- diff --git a/stdlib/heap.pvvs b/stdlib/heap.pvvs index 2c5eb79..4626995 100644 --- a/stdlib/heap.pvvs +++ b/stdlib/heap.pvvs @@ -13,6 +13,7 @@ @ Return Stack: @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTTSSSN | Mark: 11000 (memset) @ Store 'pattern' into one memory location on each pass through this loop. @@ -52,6 +53,7 @@ NTN | RTS @ Return Stack: @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTTSSTN | Mark: 11001 (memcpy) @ Copy one word on each pass through this loop. @@ -94,6 +96,7 @@ NTN | RTS @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #include +#include 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 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTTSTTN | Mark: 11011 (memcmp) @ Compare one word on each pass through this loop. @@ -202,6 +206,7 @@ NTN | RTS @ Return Stack: @ pointer <-- TOS @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTTTSSN | Mark: 11100 (memsrch) @ Setup an 'offset counter' on the stack. diff --git a/stdlib/logic.pvvs b/stdlib/logic.pvvs index 0003380..e8f63cb 100644 --- a/stdlib/logic.pvvs +++ b/stdlib/logic.pvvs @@ -35,6 +35,7 @@ NTN | RTS @ Return Stack: @ X ^ Y @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTSTSSTN | Mark: 101001 (and) @ Prepare the stack for computation. @@ -111,6 +112,7 @@ NTN | RTS @ Return Stack: @ X xor Y @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +#include NSSVTSTSTTN | Mark: 101011 (xor) SNS | DUP SSSTTN | PUSH 3 diff --git a/stdlib/stdio.pvvs b/stdlib/stdio.pvvs index 539df7d..54bb2ac 100644 --- a/stdlib/stdio.pvvs +++ b/stdlib/stdio.pvvs @@ -61,8 +61,8 @@ NTN | RTS @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ -154,8 +154,7 @@ NTN | RTS @ Return Stack: @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -#include -#include +#include NSSVTSSSN | Mark: 1000 (printf) @ If the stack contains an empty string (i.e. just an ASCII '\0'), the next