# 02-Stack #This test checks whether each stack operation functions as expected. #MNEMONIC HEX #TXS (Transfer X to Stack ptr) $9A #TSX (Transfer Stack ptr to X) $BA #PHA (PusH Accumulator) $48 #PLA (PuLl Accumulator) $68 #PHP (PusH Processor status) $08 #PLP (PuLl Processor status) $28 p /Push/Pull Accumulator Test a9 01 48 a9 10 48 68 68 p m01 /~~~~TXS/TSX Test a27f /Status after LDX 7f p 9a /Status after TXS p 68 68 /Status after 2 PLA p ba /Status after TSX p q