[Coco] 16/32 bit 6809 derivative
Gene Heskett
gheskett at shentel.net
Tue Sep 26 21:11:15 EDT 2017
On Tuesday 26 September 2017 12:09:15 Barry Nelson wrote:
> > 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).
>
Thats another error, it searches for leaR n,y and subs the shorter,
faster command, saving at least 1 machine cycle per occurrence.
> 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.
Its not applicable on level one for exactly the reason you give.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list