[ERROR]
The offset between the current PC and the label specified as PC relative address is not in the range of a signed byte (smaller than -128 or bigger than 127). An 8 bit signed PC relative offset is expected in following instructions:
Not all assemblers do have instructions with 8 bit PC relative addressing mode.
Such assemblers will not issue this message at all.
Third operand in following instructions: BRCLR, BRSET
dataSec: SECTION
var1: DS.W 1
var2: DS.W 2
codeSec: SECTION
LDA var1
CMP 9
BNE label
dummyBl: DCB.B 200, $A7
label STA var2
If you have used one of the branch instructions, use the JMP instruction as in the example below.
dataSec: SECTION
var1: DS.W 1
var2: DS.W 2
codeSec: SECTION
LDA var1
CMP 9
BEQ continue ; do not take branch
JMP label
continue:
NOP
NOP
dummyBl: DCB.B 200, $A7
label STA var2