Quote:
r1 is synonymous for the 8-bit accumulator I suppose
Yes, r1 refers to the accumulator, the lower eight bits are the eight bit accumulator. The load byte instruction doesn't have and accumulator form. So it has to be specified as r1.
I'm pretty sure PHA/PLA are working properly. All the memory loads go through a single state. Most of the stores (except jsr, ) go through a single store state.
I tried increasing the clock frequency to see if I could make the problem worse, but it didn't have an affect.
The V_OUTP routine calls DisplayChar which is outputting a character to a text display.
Hmm, I see now that I don't mask off the high order bits when DisplayChar is called. I suppose there could be garbage in the high order bits when switching from eight bit mode. I'll have to try masking off the high order bits.