Changes

Jump to: navigation, search

6502

1 byte added, 23 September
/* Branch instructions and Interrupts */
=== Branch instructions and Interrupts ===
The branch instructions have subtle interrupt polling behaviorbehaviour. When executing a branch instruction, the 6502 checks for interrupts before fetching the operand (cycle 2).
If the branch is taken (i.e., the CPU decides to jump), it does not check for interrupts again before proceeding unless the branch crosses a page boundary (like moving from memory address $01FF to $0200).
8,990
edits