Open main menu

CDOT Wiki β

Changes

6502 Jumps, Branches, and Procedures

5 bytes added, 17:24, 15 September 2022
Branches
CLC ; clear the carry flag
BCC SOMEWHERE ; branch if carry clear (which will always be the casebecause of the previous line) - this is unconditional
Although not included in the basic/original 6502, some newer variants of this processor (such as the [https://en.wikipedia.org/wiki/WDC_65C02 65C02]) have a BRanch Always (BRA) instruction which performs an unconditional relative branch.