From 877e84cdb3dbbf71196fdfef850f44efd7becf8a Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sun, 16 Jul 2017 17:59:33 -0500 Subject: [PATCH] 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. --- symbol.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symbol.asm b/symbol.asm index 765281a..eccdb34 100644 --- a/symbol.asm +++ b/symbol.asm @@ -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