ElEctric_EyE wrote:
Oh yeah? You guys know that the core you're speaking of has the original accumulators/registers right? And that some work and troubleshooting in a real hardware system has been put into another chapter of this core that has 16 accumulators? Also another indirect register identical to Y?
I don't express myself as well as I would like, but I was trying (without actually translating any code) to speculate on how many instruction bits it would take them to do the same thing. Naturally, the 'Org16 throws away half of its op-code bits, so it's not really a fair comparison. I'm assuming that the 16-accumulator version does useful things with these extra op-code bits, and that could give it a significant advantage.
Of course, efficient translation of '02 code to that machine would be more of an effort, at least for me, because my old brain doesn't think that way. Jeff and I were talking privately about the advantages of more registers, and I agreed that they're nice, but also pointed out that they change the look-and-feel into something that doesn't work like '02 code anymore.
The translation of MS-BASIC from the 8080 to the 6502 is an example of a 'translation' that worked more efficiently than the original, because the person(s) involved in that translation didn't really do it instruction-for-instruction or subroutine-for-subroutine, but rather started almost from scratch, composing new code that did the same thing, but took better advantage of the 6502's unique qualities. I don't have that gift, so I am much more likely to code and translate 6502-style for the rest of my days, because that is how I learned to speak 'machine' many years ago. Changing the
width of a 'byte' or register doesn't really change the coding
style, but adding a bunch of registers does, at least IMO.
If you can link me to your 16-accumulator design, I'd love to read about it, but I don't know if I would ever be comfortable coding for it,
not because I don't think that it's cool (I'm sure that it is), but due to my own personal limitations.
Mike