ir: fix more register typing errors

This commit is contained in:
Irmen de Jong
2024-12-27 21:26:30 +01:00
parent 427451a23f
commit f42e12bc13
5 changed files with 36 additions and 91 deletions

View File

@@ -60,6 +60,11 @@ IR/VM
- add BZ and BNZ instructions? To replace CMPI #0 + Branch?
- fix TODO("IR rol/ror on split words array")
- fix "<< in array" / ">> in array"
- sometimes source lines get missing in the output p8ir, for example the first assignment is gone in:
sub start() {
cx16.r0L = cx16.r1 as ubyte
cx16.r0sL = cx16.r1s as byte
}
- implement missing operators in AssignmentGen (array shifts etc)
- fix call() return value handling
- try to get rid of LSIG opcode again (but this will introduce byte reads from word typed registers...)