PHP
From C64-Wiki
Jump to navigationJump to searchPHP (short for "PusH Processor flags") is the mnemonic for a machine language instruction which stores the current state of the processor status flags 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 | ||||
8 | 08 | Implied | PHP | 1 | 3 |
PHP only supports the Implied addressing mode, as shown in the table at right.
CPU flags[edit | edit source]
PHP does not affect any of the flags; it merely copies them onto the stack.