Code: Select all
TestFunction:
LDX #$00
BEQ TestFunctionEnd
; Put this command here 128 times:
INX
TestFunctionEnd:
RTS
What is the general workaround here? I came up with this:Error: Range error (128 not in [-128..127])
Code: Select all
TestFunction:
LDX #$00
BNE ConditionNotMet
JMP TestFunctionEnd
ConditionNotMet:
; Put this command here 128 times:
INX
TestFunctionEnd:
RTS