comparison 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
comparison
equal deleted inserted replaced
118:cddbe8bc07e5 119:a6a53e5c04bd
8 binval rmb 2 ; arbitary binary value, usually a line number or integer 8 binval rmb 2 ; arbitary binary value, usually a line number or integer
9 memtop rmb 2 ; absolute top of memory in 64K memory map 9 memtop rmb 2 ; absolute top of memory in 64K memory map
10 memsize rmb 2 ; top of memory not reserved 10 memsize rmb 2 ; top of memory not reserved
11 freetop rmb 2 ; top of free memory (bottom of string space) 11 freetop rmb 2 ; top of free memory (bottom of string space)
12 stringtab rmb 2 ; bottom of used string space 12 stringtab rmb 2 ; bottom of used string space
13 stackptr rmb 2 ; bottom of the "stack frame" stack (the actual stack is below here) 13 cstackptr rmb 2 ; bottom of the "stack frame" stack (the actual stack is below here)
14 progtext rmb 2 ; pointer to start of program text 14 progtext rmb 2 ; pointer to start of program text
15 vartab rmb 2 ; pointer to start of integer scalars 15 vartab rmb 2 ; pointer to start of integer scalars
16 objecttab rmb 2 ; pointer to start of arrays and other variable sized objects 16 objecttab rmb 2 ; pointer to start of arrays and other variable sized objects
17 freestart rmb 2 ; pointer to start of unallocated memory 17 freestart rmb 2 ; pointer to start of unallocated memory
18 readlinenoecho rmb 1 ; if nonzero, the readline routine won't echo its input 18 readlinenoecho rmb 1 ; if nonzero, the readline routine won't echo its input