Updated path to syntax highlighting example image for SGK gitweb server.
[vvhitespace] / stdlib / debug.pvvs
index 4114d22..ea1bd5c 100644 (file)
@@ -1,3 +1,6 @@
+@ (c) 2020 Aaron Taylor <ataylor at subgeniuskitty dot com>
+@ See LICENSE.txt file for copyright and license details.
+
 #ifndef VVS_STDLIB_DEBUG
 #define VVS_STDLIB_DEBUG
 
 #ifndef VVS_STDLIB_DEBUG
 #define VVS_STDLIB_DEBUG
 
@@ -221,4 +224,19 @@ NSTTTTSTSN              | JSR > 111010 (debug:printsign)
 NSTTTTSTTN              | JSR > 111011 (debug:printmagnitude)
 NTN                     | RTS
 
 NSTTTTSTTN              | JSR > 111011 (debug:printmagnitude)
 NTN                     | RTS
 
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+@ Name:
+@   stdlib_version (111110)
+@ Description:
+@   Returns the version of the stdlib.
+@   The version number should be a monotonically increasing integer.
+@ Call Stack:
+@   <empty>   <-- TOS
+@ Return Stack:
+@   version_number  <-- TOS
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+NSSVTTTTTSN             | Mark: 111110 (debug:printsignednumber)
+SSSTN                   | PUSH 1 (version)
+NTN                     | RTS
+
 #endif
 #endif