Am 07.12.25 um 13:12 schrieb tcfkat--- via Sdcc-user:
I would very much welcome support for MC680x. The Hitachi HD6303 clone
has an extended instruction set, so perhaps that could be supported as
well. Original Motorola has 59 illegal or better unused opcodes, while
Hitachi has only 26. (I started a long time ago writing a MC6800
simulator, but never finished.)
I agree, though I don't think the HD6301/HD6303 additions over the
MC6801 (10 additional opcodes, or so I think) matter that much, AFAIK
they are mostly just about bitwise operations on memory operands. But
combined with the timing differences an extra port would be worth it.
As far as I can see, we have instruction sets:
MC6800 ⊊ MC6801 ⊊ HD6301.
That could be three ports (possibly named mc6800 mc6801 hd6301 or
similar), that would then share most of the code.
I don't know how much time I'd find to contribute, but I think I could
do some or most of the work on code generation and register allocation.
But first, we need assembler and simulator support for at least one of
the three architecture variants each.
Philipp
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user