Re: [cc65] pre processor #define and assembler constants

From: Ullrich von Bassewitz <>
Date: 2004-09-28 21:28:10
On Tue, Sep 28, 2004 at 01:09:08AM +0200, Mats Andrén wrote:
> A quick question. Is there a proper way to share asm-constants and
> c-preprocessor-defines between asm and c files?

There's no automatic way, if you thought of that. My solution is often to use
an assembler include file that has the same or similar declarations
(constants, structs and so on) as the C header file. You may want to have a
look into the asminc directory for examples.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 28 21:28:14 2004

This archive was generated by hypermail 2.1.8 : 2004-09-28 21:28:23 CEST