Finally finished porting my WIP #CommanderX16 project to the GS. Despite adding a few minor enhancements the new code is about 13KB shorter than the old one.
Seems the 65816 can actually deliver higher code density than the 65C02, even though many instructions are one byte longer.
Being able to do 16 bit operations with a single instruction is certainly a factor. But I suspect that the larger address space had an even bigger impact (less costly banking and paging in/out code).
Seems the 65816 can actually deliver higher code density than the 65C02, even though many instructions are one byte longer.
Being able to do 16 bit operations with a single instruction is certainly a factor. But I suspect that the larger address space had an even bigger impact (less costly banking and paging in/out code).



