Re: [cc65] Assembler expressions above $ffff

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-11-09 20:53:59
On Tue, Nov 09, 2004 at 09:39:46PM +0200, Karri Kaksonen wrote:
> So I wonder if it is possible to define labels in the cc65 code that
> contain large numbers?

Do you mean labels or symbolic constants? Constants (as shown in your last
mail) shouldn't be a problem, since all internal arithmetic is done with at
least 32 bits. Labels are actually expressions that reference the start of a
section/segment. Labels need special handling in the linker, because they're
relocated. They should also work for big numbers, at least with far segments,
but since probably no one has really tried this in a real project, there may
be bugs.

Can you send me via private mail a (short) piece of example code that is not
working?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 9 20:54:03 2004

This archive was generated by hypermail 2.1.8 : 2004-11-09 20:54:12 CET