diff src/vars.s @ 119:a6a53e5c04bd

Make a call stack implementation that is more complete and maybe cleaner.
author William Astle <lost@l-w.ca>
date Fri, 29 Dec 2023 01:40:39 -0700
parents 6db72a92ff7a
children 5d5472b11ccd
line wrap: on
line diff
--- a/src/vars.s	Thu Dec 28 22:00:32 2023 -0700
+++ b/src/vars.s	Fri Dec 29 01:40:39 2023 -0700
@@ -10,7 +10,7 @@
 memsize         rmb 2                           ; top of memory not reserved
 freetop         rmb 2                           ; top of free memory (bottom of string space)
 stringtab       rmb 2                           ; bottom of used string space
-stackptr        rmb 2                           ; bottom of the "stack frame" stack (the actual stack is below here)
+cstackptr       rmb 2                           ; bottom of the "stack frame" stack (the actual stack is below here)
 progtext        rmb 2                           ; pointer to start of program text
 vartab          rmb 2                           ; pointer to start of integer scalars
 objecttab       rmb 2                           ; pointer to start of arrays and other variable sized objects