projects
/
vvhitespace
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Added a basic-user-interaction example using `printf`, `atoi` and `get_user_string`.
[vvhitespace]
/
examples
/
print-number-from-stack
/
printnum.pvvs
@@ This program outputs "-42424242"
SSTTSTSSSSTTTSTSTSTTTTSTTSSTSN | ST: Push -42424242
NSTTSSTN | FC: JSR>1001 (print number from stack; see stdlib)
SSSTSTSN | ST: Push +10 (ASCII '\n')
TNSS | IO: Putchar
NNN | FC: Terminate program
#include <stdio.pvvs>