Re: [cc65] OT: Atari ML help

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-05-11 20:18:42


On Sunday 11 May 2003 00:54, MagerValp wrote:
> Is there ever a good reason for writing <symbol (as opposed to
> #<symbol)? If not, would it be possible to have the assembler emit a
> warning if it runs across it?


indeed there is, to make sure a zeropage-adressed opcode is emitted... ie

file1:

	.export foo
foo=$02

file2:

	.import foo
	lda <foo

ok, there might be better examples than this but you get the idea :o)

however, i would like this kinda warning(s) aswell.... another one that would 
be useful would be if a symbol that fits into 8 bit is assembled as a 2 bytes 
adress (as if you had omitted the "<" in the above example).

gpz

ps: all those might go into a "verbose" warning level since they might be 
somewhat confusing otherwhise.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-05-11 19:23:18 CEST