My code:
Its supposed to store the adress of "Pal1" into 2 bytes, who are going to get used in the next subroutine, but results in a error when assembled "Undefined symbol in operand field!"
What am i missing?
Thanks in advance!
Code:
lda #LOW(Pal1)
sta PalPointerLow
lda #HIGH(Pal1)
sta PalPointerHigh
jsr loadpal
sta PalPointerLow
lda #HIGH(Pal1)
sta PalPointerHigh
jsr loadpal
Its supposed to store the adress of "Pal1" into 2 bytes, who are going to get used in the next subroutine, but results in a error when assembled "Undefined symbol in operand field!"
What am i missing?
Thanks in advance!