Code: Select all
C7E5 78 SEI A:00 X:00 Y:00 P:67 SP:FB CYC:181 SL:242
C7E6 F8 SED A:00 X:00 Y:00 P:67 SP:FB CYC:187 SL:242
C7E7 08 PHP A:00 X:00 Y:00 P:6F SP:FB CYC:193 SL:242
C7E8 68 PLA A:00 X:00 Y:00 P:6F SP:FA CYC:202 SL:242
C7E9 29 EF AND #$EF A:7F X:00 Y:00 P:6D SP:FB CYC:214 SL:242 7F ?????????????
C7EB C9 6F CMP #$6F A:6F X:00 Y:00 P:6D SP:FB CYC:220 SL:242
With PHP, the cpu pushes the flag byte (6F) into the stack. With PLA the cpu pulls that byte "6F" from the stack... :/ Guys am I'm missing something? I tried to run some test code here: "http://skilldrick.github.com/easy6502/" to simulate my problem, and it also pulls 7F.
From where is the "7" comming from? I can't figure it out, really. :/
Thank you guys!