RosettaCodeData/Task/Conditional-structures/6502-Assembly/conditional-structures-3.6502
2023-07-01 13:44:08 -04:00

6 lines
169 B
Text

LDA #200
CMP Variable
BEQ #3 ;if equal, skip ahead 3 bytes...
CLC ;if unequal, continue executing instructions
ADC #1
STA OtherVariable ; ...to here.