[cc65] ca65 - offset segment?

From: Christian Krüger <Christian.Krueger1pace.de>
Date: 2009-09-01 14:33:20
Hi,

comming from the 68k 'Pure'-assembler I find the 'OFFSET'-feature very nice.
Is there something like this for ca65 or how do I achieve a 'C-structure-mapping'
to assembler? 

Example (as this could look in ca65):

.segment "offset"
xpos:
.res 2
ypos:
.res 1
flags:
.res 1


.CODE

...
ldy	#flags
lda	(zpadr),Y	; zpadr is pointer to structure...
...

Regards
Chris
----------------------------------------------------------------------
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 Sep 1 14:33:44 2009

This archive was generated by hypermail 2.1.8 : 2009-09-01 14:33:46 CEST