projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added ASCII string capability to `vvc`.
[vvhitespace]
/
stdlib
/
stdio.pvvs
diff --git
a/stdlib/stdio.pvvs
b/stdlib/stdio.pvvs
index
49b8cfc
..
f2dfe82
100644
(file)
--- a/
stdlib/stdio.pvvs
+++ b/
stdlib/stdio.pvvs
@@
-3,7
+3,7
@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Name:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Name:
-@ printstackstring (1000)
+@ printstackstring (1000
100
)
@ Description:
@ Prints a null-terminated string from the stack.
@ Call Stack:
@ Description:
@ Prints a null-terminated string from the stack.
@ Call Stack:
@@
-15,18
+15,18
@@
@ Return Stack:
@ <empty>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Return Stack:
@ <empty>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-NSSVTSSS
N | Mark: 10
00 (print string from stack)
+NSSVTSSS
TSSN | Mark: 10001
00 (print string from stack)
SNS | DUP
SNS | DUP
-NTSS
SSSTSSSSSSSSSSTN | BRZ > 000010
00 00000001
+NTSS
TSSSTSSSSSSSSSTN | BRZ > 010001
00 00000001
TNSS | Print character
TNSS | Print character
-NSNTSSS
N | JMP > 10
00
-NSSVS
SSSTSSSSSSSSSSTN | Mark: 000010
00 00000001
+NSNTSSS
TSSN | JMP > 10001
00
+NSSVS
TSSSTSSSSSSSSSTN | Mark: 010001
00 00000001
SNN | DROP
NTN | RTS
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Name:
SNN | DROP
NTN | RTS
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Name:
-@ printheapstring (1001)
+@ printheapstring (100
010
1)
@ Description:
@ Prints a null-terminated string from the heap.
@ Call Stack:
@ Description:
@ Prints a null-terminated string from the heap.
@ Call Stack:
@@
-34,16
+34,16
@@
NTN | RTS
@ Return Stack:
@ <empty>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Return Stack:
@ <empty>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-NSSVTSS
TN | Mark: 10
01 (print string from heap)
+NSSVTSS
STSTN | Mark: 10001
01 (print string from heap)
SNS | DUP
TTT | LOAD
SNS | DUP
SNS | DUP
TTT | LOAD
SNS | DUP
-NTSS
SSSTSSTSSSSSSSTN | BRZ > 000010
01 00000001
+NTSS
TSSSTSTSSSSSSSTN | BRZ > 010001
01 00000001
TNSS | Print character
SSSTN | Push +1
TSSS | ADD
TNSS | Print character
SSSTN | Push +1
TSSS | ADD
-NSNTSS
TN | JMP > 10
01
-NSSVS
SSSTSSTSSSSSSSTN | Mark: 000010
01 00000001
+NSNTSS
STSTN | JMP > 10001
01
+NSSVS
TSSSTSTSSSSSSSTN | Mark: 010001
01 00000001
SNN | DROP
SNN | DROP
NTN | RTS
SNN | DROP
SNN | DROP
NTN | RTS