Re: [cc65] Assembler expressions above $ffff

From: Groepaz <groepaz1gmx.net>
Date: 2004-11-09 19:24:15
On Tuesday 09 November 2004 19:23, Karri Kaksonen wrote:
> Hi,
> 
> I have a practical problem in defining the directory structure of my cart.
> 
> Basically the compiled code will be assembled to the cart that is usually
> 256K. I need to store the place of the segment in a directory and finding
> out the exact spot requires that the math could handle values beyond the
> capacity of a word.
> 
> Is there a way to do 32-bit math for the addressing calculations?
> 
> Like:
> 
> off1=100000
> len1=2000
> 
> off2=off1+len1
> len2=4000
> 
> etc...
> 
> My problems may be somewhere else also, but it looks to be crashing when
> the offsets of directory entries approach the word size.

umhz just use unsigned long? *shrug*? or are you talking about the linker
config? *confused*

gpz
----------------------------------------------------------------------
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 19:37:22 2004

This archive was generated by hypermail 2.1.8 : 2004-11-09 19:37:32 CET