RosettaCodeData/Task/Conditional-structures/6502-Assembly/conditional-structures-3.6502
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07: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.