[Coco] Assembler modifications and a super 6309 processor
William Astle
lost at l-w.ca
Tue Sep 8 20:54:47 EDT 2009
jdaggett at gate.net wrote:
> On 8 Sep 2009 at 11:55, William Astle wrote:
>
>> Something else I've found lacking in the 6309 is a means to stack the
>> entire register set in the same order as interrupts do in native mode.
>> Maybe a PSH/PUL variant with a 16 bit register bitmap or a PSHrALL and
>> PULrALL type instruction? (It takes 3 instructions to do it currently,
>> totalling 6 bytes and a further 3 instructions at 6 bytes to remove the
>> registers from the stack.)
>
> William
>
> Something like the 68K where you have a PUSH/PULL instruction and a 16 bit postword
> that has a corresponding bit for each register to push or pull?
That would be excellent. Especially if there's a way to do it with a one
byte opcode. My researches show there are 18 invalid single byte opcode
values in the 6309 so I would think it would be possible.
>
> james
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
--
William Astle
lost at l-w.ca
More information about the Coco
mailing list