RosettaCodeData/Task/Conditional-structures/6502-Assembly/conditional-structures-3.6502

7 lines
169 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
LDA #200
CMP Variable
BEQ #3 ;if equal, skip ahead 3 bytes...
CLC ;if unequal, continue executing instructions
ADC #1
STA OtherVariable ; ...to here.