Re: [stella] [Stella] How weird is pha?

Subject: Re: [stella] [Stella] How weird is pha?
From: Rodrigo Silva <stella@xxxxxxxxxxxxx>
Date: Wed, 24 Sep 2003 04:50:30 -0300

Hi there!

>While using CLEAR_START macro, I find the following in
> Z26 trace log:

>(  0  30   9 -41) (  3   3   1 131 101) nvbdIzc 00 2a
> 00 2a  f008: 48       pha          <-- weird (12)

> What is this "<-- weird (12)" comment added by Z26?

The Pha is strobing HMOVE at cycle 12, where the HMOVE
results are considered to be *weird* ;-)


How exactly does the PHA work? The only 6502 reference I have only says it "pushes accumulator". Can someone please translate it?

But what about the other "weird" pha instruction? Using the same logic, I can assume it strobes $6A. What is it there? Is there any other "syntax hints" Z26 do for me when tracing code?

Btw... I would really appreciate a 6502 Opcode Reference other than the one im using now. ( Is there anything more comprehensive than that? A quick reference table would also be great. I remember a great 6502 opcode Matrix a while ago, but cant find it anymore... Most of the links in The Dig are dead


Archives (includes files) at
Unsub & more at

Current Thread