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

tim at franklinlabs.com tim at franklinlabs.com
Tue Apr 15 09:45:42 EDT 2014


Good point. Forgot about that one!!!


On April 15, 2014 at 9:37 AM Steve <6809er at srbsoftware.com> wrote:
> Tim,
>
> Can't use the U (or S) register for this loop since the Z-flag is not
> set when doing LEA or LD operations. These are stack registers and
> should not effect any flags since that would be bad for saving the state
> of the CPU.
>
> Steve
>
>
> On 4/15/2014 6:24 AM, tim at franklinlabs.com wrote:
> > I'm not at home to test but wouldn't this work??/
> >
> > LDU #1000
> > LOOP: LEAU -1,U
> > BNE LOOP
> >
> > All inside the CPU.
> >
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


More information about the Coco mailing list