X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/68f56a54a3104a2d2872f89030198b5e128fec16..f4523a366b4cdb86a137ca9edcefde923263d126:/examples/hello-stdlib/hello.pvvs?ds=inline diff --git a/examples/hello-stdlib/hello.pvvs b/examples/hello-stdlib/hello.pvvs index 628fa7e..3b28850 100644 --- a/examples/hello-stdlib/hello.pvvs +++ b/examples/hello-stdlib/hello.pvvs @@ -1,6 +1,7 @@ -## This program outputs "Hello, world!" +@@ This program outputs "Hello, world!" SSSSN | ST: Push +0 (ASCII '\0') +SSSTSTSN | ST: Push +10 (ASCII '\n') SSSTSSSSTN | ST: Push +33 (ASCII !) SSSTTSSTSSN | ST: Push +100 (ASCII d) SSSTTSTTSSN | ST: Push +108 (ASCII l) @@ -16,3 +17,5 @@ SSSTTSSTSTN | ST: Push +101 (ASCII e) SSSTSSTSSSN | ST: Push +72 (ASCII H) NSTTSSSN | FC: JSR>1000 (print string from stack; see stdlib) NNN | FC: Terminate program + +#include "stdio.pvvs"