[cc65] Renaming imported zeropage variables in ca65

Date view Thread view Subject view

From: Marc 'BlackJack' Rintsch (marc_at_rintsch.de)
Date: 2003-03-11 18:28:44

Hi *,

Is there any way to declare a label explicitly as zeropage address?

I want to rename some imported zeropage labels within the scope of a 
.proc but the assembler creates absolute adressing.


.importzp z1

.proc foo
	a_name = zp1
	lda a_name

becomes 'LDA $0002'. It works with '.define' but then it's not local to 
the '.proc'.

	Marc 'BlackJack' Rintsch
"I heard if you play the Win2000-CD
 backwards, you get a satanic message."
"That's nothing, if you play it
 forward, it installs Win2000"

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-03-11 18:37:22 CET