mirror of
https://github.com/byteworksinc/Linker.git
synced 2024-12-22 02:29:47 +00:00
Fix bugs in handling of symbol table entries at the very beginning of a bank.
These bugs could manifest themselves as (at least) bogus "Addressing error" or "expression too complex" messages.
This commit is contained in:
parent
c21ae46a4d
commit
877e84cdb3
@ -288,7 +288,7 @@ fs1 ph4 name if ((sym = FindSymbol(name)) != NULL) {
|
||||
jsr FindSymbol
|
||||
sta sym
|
||||
stx sym+2
|
||||
ora sym
|
||||
ora sym+2
|
||||
beq fs5
|
||||
ldy #symFile if (sym->symFile == fileNumber)
|
||||
lda [sym],Y
|
||||
@ -1392,7 +1392,7 @@ fs1 ph4 sp if ((r0 = FindSymbol(sp)) != NULL) {
|
||||
jsr FindSymbol
|
||||
sta r0
|
||||
stx r0+2
|
||||
ora r0
|
||||
ora r0+2
|
||||
beq fs5
|
||||
ldy #symFile if (r0->symFile == fileNumber)
|
||||
lda [r0],Y
|
||||
|
Loading…
Reference in New Issue
Block a user