projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating an example that was missed during label reassignments.
[vvhitespace]
/
examples
/
print-number-from-stack
/
printnum.pvvs
diff --git
a/examples/print-number-from-stack/printnum.pvvs
b/examples/print-number-from-stack/printnum.pvvs
index
a05b42b
..
691601e
100644
(file)
--- a/
examples/print-number-from-stack/printnum.pvvs
+++ b/
examples/print-number-from-stack/printnum.pvvs
@@
-1,7
+1,7
@@
@@ This program outputs "-42424242"
SSTTSTSSSSTTTSTSTSTTTTSTTSSTSN | ST: Push -42424242
@@ This program outputs "-42424242"
SSTTSTSSSSTTTSTSTSTTTTSTTSSTSN | ST: Push -42424242
-NSTTS
TSN | FC: JSR>1010
(print number from stack; see stdlib)
+NSTTS
STN | FC: JSR>1001
(print number from stack; see stdlib)
SSSTSTSN | ST: Push +10 (ASCII '\n')
TNSS | IO: Putchar
NNN | FC: Terminate program
SSSTSTSN | ST: Push +10 (ASCII '\n')
TNSS | IO: Putchar
NNN | FC: Terminate program