X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/4fba07dca7fb9275b51e5095a774fe69eeab4660..93ea92e6864051fe748ca3f64d2af6bb47019f50:/stdlib/debug.pvvs diff --git a/stdlib/debug.pvvs b/stdlib/debug.pvvs index 4114d22..ea1bd5c 100644 --- a/stdlib/debug.pvvs +++ b/stdlib/debug.pvvs @@ -1,3 +1,6 @@ +@ (c) 2020 Aaron Taylor +@ See LICENSE.txt file for copyright and license details. + #ifndef VVS_STDLIB_DEBUG #define VVS_STDLIB_DEBUG @@ -221,4 +224,19 @@ NSTTTTSTSN | JSR > 111010 (debug:printsign) 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: +@ <-- TOS +@ Return Stack: +@ version_number <-- TOS +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +NSSVTTTTTSN | Mark: 111110 (debug:printsignednumber) +SSSTN | PUSH 1 (version) +NTN | RTS + #endif