> At this point, there seems to be a problem with pushing (or retrieving) the return > address from a jsr instruction. My initial guess without looking at it is that the > value I'm calculating for the stack register is incorrect. >
I forgot to mention that my hunch was pretty much correct. I ended up taking out a sheet of paper and writing out what should be happening and then mapped it out with test data. From there, I rewrote a couple of pieces of the code and it is now working.
Well up to the point that I stopped working on it the other day anyway.
ArcadeGamenut
|