Hi everyone,
Lots of exciting projects going on in Uxn right now, I'm trying to
keep up with each one whenever we find a bit of internet connectivity.
I've made a little change to uxnasm, I added the automatic merge of
the `JSR2 JMP2r` opcode sequence, meaning that after a subroutine, if
you're already in a subroutine, the PC will just not do the useless
back-and-forth. I think that sort of thing is called tail-call
optimization, I've spent the past few days trying to figure out if I
rather change my coding style to manually do this change, but it's too
error-prone and it wrecks the code a bit.
In my case, each time I would move code blocks around, I'd forget
about the manually imputed "JMP2" opcode and everything would break.
I'm hoping that this change won't break anything, I've tested with
orca, left and nasu and all seem to behave properly. I won't implement
this into Drifblim.
I hope you enjoy this little change, lemme know what you think!
Dll