Dandelion BASIC devlog
just know that it is 2am rn.
we are going to have to switch to 3-byte instruction encoding because i cannot do any kind of calculation of values inside any kind of preprocessor directive in GNU assembler.
i am not going to switch assemblers in the middle of a project.
so what we are going to do when we write out the IL program is:
.macro CALL label
.byte ML_CALL, hi8(\label), lo8(\label)
.endm
where we literally just stick the bitmask in an extra byte in front 🤠