X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/acd78c53d4da91c43e1060f22e73a4c8e8ab3b19..05de1e622720b63bde92a2ea6c12fc6d20f3e518:/stdlib/stdio.pvvs diff --git a/stdlib/stdio.pvvs b/stdlib/stdio.pvvs index 8637d67..6f04094 100644 --- a/stdlib/stdio.pvvs +++ b/stdlib/stdio.pvvs @@ -1,3 +1,6 @@ +@ (c) 2020 Aaron Taylor +@ See LICENSE.txt file for copyright and license details. + #ifndef VVS_STDLIB_STDIO #define VVS_STDLIB_STDIO @@ -259,7 +262,7 @@ TSST | SUBTRACT NTSSSSSTSSSSSSSSTSSN | BRZ > 00001000 00000100 @ Check for ASCII '\t' SNS | DUP -SSSTSSTN | PUSH ASCII '\t' +SSSTTTSTSSN | PUSH ASCII 't' TSST | SUBTRACT NTSSSSSTSSSSSSSSTSTN | BRZ > 00001000 00000101 @ No substitution necessary. Print literally. @@ -333,7 +336,7 @@ NSNSSSSTSSSSSSSSSSTN | JMP > 00001000 00000001 @@@@@@@@@@@@@@@@@@@@ @ These are utility labels to call the appropriate type of output subroutine. -@ After output, they decrement the substition counter and loop back to testing +@ After output, they decrement the substitution counter and loop back to testing @ level 1 branches. @@@@@@@@@@@@@@@@@@@@ @@ -385,6 +388,7 @@ NSNSSSSTSSSSSSSSSSTN | JMP > 00001000 00000001 @ Found an ASCII "\0" when processing the format string. Clean up and exit. NSSVSSSSTSSSSSSSSSSSN | Mark: 00001000 00000000 SNN | DROP +SNN | DROP NTN | RTS @ Move the next string character to TOS.