Added printf and stackrotate functions to VVS stdlib.
[vvhitespace] / examples / hello-stdlib / hello.pvvs
index a70ebff..dace168 100644 (file)
@@ -1,8 +1,8 @@
 @@ This program outputs "Hello, world!"
 
 A"Hello, world!\n"
 @@ This program outputs "Hello, world!"
 
 A"Hello, world!\n"
-@TODO: Change this to printf call
-NSTTSSSTSSN     | FC: JSR>1000100 (print string from stack; see stdlib)
+SSSSN           | ST: PUSH 0
+NSTTSSSN        | FC: JSR>1000 (printf; see stdlib)
 NNN             | FC: Terminate program
 
 #include "stdio.pvvs"
 NNN             | FC: Terminate program
 
 #include "stdio.pvvs"