PHA
From C64-Wiki
Jump to navigationJump to searchPHA (short for "PusH Accumulator") is the mnemonic for a machine language instruction which stores a copy of the current content of the accumulator onto the stack, and adjusting the stack pointer to reflect the addition.
Addressing mode[edit | edit source]
Opcode | Addressing mode |
Assembler format |
Length in bytes |
Number of cycles | |
Dec | Hex | ||||
72 | 48 | Implied | PHA | 1 | 3 |
PHA only supports the Implied addressing mode, as shown in the table at right.
CPU flags[edit | edit source]
PHA does not affect any of the CPU's status flags.