[cc65] Assembler expressions above $ffff

From: Karri Kaksonen <karri1sipo.fi>
Date: 2004-11-09 19:23:48
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.

--
Karri
----------------------------------------------------------------------
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:23:54 2004

This archive was generated by hypermail 2.1.8 : 2004-11-09 19:24:04 CET