[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] #define in as

From: Torsten Hahn
Subject: [avr-gcc-list] #define in as
Date: Tue, 9 Oct 2001 16:07:27 +0200


can i define some usefull names etc. for register or ports in an pure 
assembler file ?
I tried around with

#define myregister r16

etc. but this dos not seem to work. The avr-as says 

Error: constant value required

When i try to use this like

ldi myregister, 0

Whats wrong ?

Torsten Hahn / Chemnitzer Str. 4 / 09599 Freiberg / Germany
mail: address@hidden
phone: (+49) 177 2181338
pgp key avaiable at: http://math-www.uni-paderborn.de/pgpnet/wwwkeys.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]