Suppose you started with the following register contents PCC
Suppose you started with the following register contents.
PC-$C04A Y-$7892 X-$FF00 A-$44 B-$70 SP-$C007
What address is in the stack pointer and exactly what is in the stack after the following instruction sequence is executed?
PSHA
PSHB
PSHY
Solution
Stack pointer : $C003 ,
Content of address $C003 : $92
Content of address $C004 : $78
Content of address $C005 : $70
Content of address $C006 : $44
