register params support for normal subroutines

This commit is contained in:
Irmen de Jong
2024-11-24 04:57:27 +01:00
parent 857d2eefca
commit 5c6bd9c091
22 changed files with 253 additions and 134 deletions

View File

@@ -1,6 +1,13 @@
TODO
====
document the @R0 - @R15 register support for normal subroutine parameters (footgun!)
add unit tests for it too.
make a compiler switch to disable footgun warnings
turn some existing warnings into INFO
what to do with bankof(): keep it? add another syntax like \`value or ^value to get the bank byte?
add a function like addr() or lsw() to complement bnk() in getting easy access to the lower 16 bits of a long integer?
-> added unary ^ operator as alternative to bankof()