Mercurial > hg > index.cgi
diff src/error.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 | bb50ac9fdf37 |
children | 5d5472b11ccd |
line wrap: on
line diff
--- a/src/error.s Thu Dec 28 22:00:32 2023 -0700 +++ b/src/error.s Fri Dec 29 01:40:39 2023 -0700 @@ -27,7 +27,7 @@ jsr print_uint16d ; display the line number ERROR3 lds freetop ; reset the stack pointer (error routine could be called anywhere) clr ,-s ; reset the call stack - sts stackptr + sts cstackptr jmp immediate ; go back to immediate mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error messages