VVS stdlib changes to `random` and `spewreg`, reallocating heap[0] and [15].
[vvhitespace] / examples / hello-stdlib / hello.pvvs
CommitLineData
8bed3ccd 1@@ This program outputs "Hello, world!"
c9d5be09 2
68f56a54 3SSSSN | ST: Push +0 (ASCII '\0')
f4523a36 4SSSTSTSN | ST: Push +10 (ASCII '\n')
68f56a54
AT
5SSSTSSSSTN | ST: Push +33 (ASCII !)
6SSSTTSSTSSN | ST: Push +100 (ASCII d)
c9d5be09 7SSSTTSTTSSN | ST: Push +108 (ASCII l)
68f56a54 8SSSTTTSSTSN | ST: Push +114 (ASCII r)
c9d5be09 9SSSTTSTTTTN | ST: Push +111 (ASCII o)
c9d5be09 10SSSTTTSTTTN | ST: Push +119 (ASCII w)
68f56a54
AT
11SSSTSSSSSN | ST: Push +32 (ASCII space)
12SSSTSTTSSN | ST: Push +44 (ASCII ,)
c9d5be09 13SSSTTSTTTTN | ST: Push +111 (ASCII o)
c9d5be09 14SSSTTSTTSSN | ST: Push +108 (ASCII l)
68f56a54
AT
15SSSTTSTTSSN | ST: Push +108 (ASCII l)
16SSSTTSSTSTN | ST: Push +101 (ASCII e)
17SSSTSSTSSSN | ST: Push +72 (ASCII H)
18NSTTSSSN | FC: JSR>1000 (print string from stack; see stdlib)
c9d5be09 19NNN | FC: Terminate program
8bed3ccd
AT
20
21#include "stdio.pvvs"