[Coco] 6809 Push/Pull

Salvador Garcia salvadorgarciav at yahoo.com
Fri Jun 5 21:44:11 EDT 2020


 Adding to this thread...

Is the developer allowed to do some thing like:

PSHS    X

PULS    Y


What if I try something like this:

PSHS    X,Y

PULS    X


Like others, just curious. :-) Thanks, Salvador




    On Friday, June 5, 2020, 03:10:58 PM CDT, Arthur Flexser <flexser at fiu.edu> wrote:  
 
 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
>

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
  


More information about the Coco mailing list