[cc65] ca65html: .addr directives often only process first label

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-07-31 11:56:03
Hello,

the following a65 file shows a bug in ca65html:

--- snipp test.a65: ---

	* = $A000

	.addr bEND-1, bFOR-1

bEND:   lda #0
bFOR:   rts
--- snipp ---

If I run ca65html test.a65, the bEND is made a link, while bFOR is not.

The same problem applies to the .word directive.

This seems to be related to the "-1" expression. If I omit these, all
labels are made as links.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://cbm4win.sf.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Jul 31 11:56:15 2005

This archive was generated by hypermail 2.1.8 : 2005-07-31 11:56:18 CEST