I'm trying to dissasemble and then re-assemble with "da65" and "ca65" a code for C64... I find this one:
Code:
1EFC ldx $0a
1EFE sta $3490,x
1F01 sta $1F2A
...
1F29 lda #$fb
da65 disassembled it:
Code:
L1EFC: ldx $0A
lda L3490,x
sta L1F2A
inc $0A
lda $0A
cmp #$28
bne L1F10
lda #$00
sta $0A
L1F10: lda #$DB
sta $07F8
lda #$D4
sta $07F9
lda #$D5
sta $07FA
lda #$D6
sta $07FB
lda #$D7
sta $07FC
lda #$FB
so when i try to recompile it, i miss the "L1F2A" reference because i declared as "code" this portion of memory...
How can i do recompile correctly the auto-reference "L1F2A"?
Can i try with something like:
Code:
AR1: sta AR1+$29
?
There is a mode to make this automated during the disassembling process?