diff --git a/apps/zasm/symbol.asm b/apps/zasm/symbol.asm index cc16307..d8da3cf 100644 --- a/apps/zasm/symbol.asm +++ b/apps/zasm/symbol.asm @@ -196,8 +196,8 @@ _symFind: push de ld de, 0x0003 add iy, de ; faster and shorter than three inc's - ; offset is signed, but '-' isn't supported by zasm - ld e, (iy+0xFD) ; offset is also compulsory, so no extra bytes used + ld e, (iy-3) ; offset is also compulsory, so no extra bytes used + ; (iy-3) holds the name length of the string just processed add hl, de ; advance HL by (iy-3) characters pop de