Changes

Jump to: navigation, search

MOS 6502

79 bytes added, 06:26, 4 September 2024
/* Memory Access */
Instructions PHA and PHP push the accumulator and processor status onto the stack, while PLA and PLP pull them back. Subroutine calls with JSR store the return address on the stack, and RTS retrieves it to continue execution. Similarly, interrupts (BRK) push the program counter and status, while RTI restores them.
 
All I/O operations are memory mapped. There are no specific I/O instructions.
=== BRK / IRQ / NMI / RESET ===
13,173
edits