[Coco] 6809 Push/Pull

Arthur Flexser flexser at fiu.edu
Fri Jun 5 16:10:15 EDT 2020


The order of registers in PSHS and PULS is a fixed property of the
processor.  PSHS X,Y and PSHS Y,X generate identical opcodes, so it makes
no difference which you use.

Art

On Fri, Jun 5, 2020 at 4:06 PM Jim OKeefe <jimokeefe39 at gmail.com> wrote:

> For all you ML gurus out there.
>
> PSHS     X,Y
>
> To return registers to their original values is the correct pull
>
> PULS      Y,X
>
> Or
>
> PULS      X,Y
>
> Thanks Jim
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list