[Coco] MAMOU bug?

T. Franklin tim at franklinlabs.com
Wed Jan 23 18:35:13 EST 2013


Yeah, I looked it up and you are correct. Like you said, it's not used often and I never used it so there you have it!! :o)


-----Original Message-----
From: William Astle [mailto:lost at l-w.ca]
Sent: Wednesday, January 23, 2013 05:31 PM
To: coco at maltedmedia.com
Subject: Re: [Coco] MAMOU bug?

On 13-01-23 04:24 PM, T. Franklin wrote:> Oooops... sorry... I was looking at the wrong CPU syntax... 6809 is PSHS REG or PSHU REG>> I'm not sure you can push the stack onto the user stack. That may be illegal. You can push the U on the S because the U doubles as a index register also.Actually, you can push U onto S because U isn't S. You can push S onto U because S isn't U. That is, you can't push the stack pointer onto its own stack. (Can't push U onto U or S onto S.) It has nothing to do with whether U is an index register or not. (So is S, for that matter, if you want to use it as such and you don't need the hardware stack.)If mamou isn't allowing PSHU S, it is definitely a bug. Though, that isn't a very commonly used instruction so I can see how it might have been missed.>>>>>> -----Original Message-----> From: Willi Kusche [mailto:CoCo at wilserv.com]> Sent: Wednesday, January 23, 2013 04:55 PM> To: coco at maltedmedia.com> Subject: [Coco] MAMOU bug?>> Hi! I get an error when I try to assemble " pshu s". The error is"illegal register name".Willi--Coco mailing listCoco at maltedmedia.comhttp://five.pairlist.net/mailman/listinfo/coco>> --> Coco mailing list> Coco at maltedmedia.com> http://five.pairlist.net/mailman/listinfo/coco>--Coco mailing listCoco at maltedmedia.comhttp://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list