[Coco] 16/32 bit 6809 derivative

Barry Nelson barry.nelson at amobiledevice.com
Tue Sep 26 12:09:15 EDT 2017


> Bill Pierce
> Tue Sep 26 11:14:36 EDT 2017
> 
> I also use a Mike Knudsen custom utility called "CNoY" which when used in the compiler chain, changes "leaX n,u" references to "ldX #n" (X=x & y), which saves a cycle or two as well as making the code smaller (and faster).

I would think that tat would cause issues especially with OS-9/NitrOS9 level 1, where the start of a program is almost never mapped to address 0. Even in level 2, if several programs are merged together you need to use the u register to get the memory offset address of the code.


More information about the Coco mailing list