[Coco] Quick 6809 Q for night owls in the US

tim at franklinlabs.com tim at franklinlabs.com
Tue Apr 15 09:30:55 EDT 2014


Your jump resets X. The "YOURLOOP" descriptor should be in front of "LEAX" not
"LDX"


On April 15, 2014 at 9:28 AM Juan Castro <jccyc1965 at gmail.com> wrote:
> YOURLOOP LDX HOWMANYITERATIONS
>
> * DO SOMETHING
>
> LEAX -1.X
> BNE YOURLOOP
>
> On Tue, Apr 15, 2014 at 10:19 AM, Mark McDougall <msmcdoug at iinet.net.au>
> wrote:
> > How would one write a (tight) loop, say a few thousand iterations in 6809
> > assembler? Can it be done with the X/Y registers? D? Or do I need a memory
> > variable? It's for a delay...
> >
> > Regards,
> >
> > --
> > | Mark McDougall | "Electrical Engineers do it
> > | <http://members.iinet.net.au/~msmcdoug> | with less resistance!"
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > http://five.pairlist.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


More information about the Coco mailing list