On 5/17/06, Jim Wagner <jim_d_wagner@applelinks.net
> wrote:
Ok, what you want is replacement constants to use in the
expressions you presented for code space. .db actually
assignes it to code or eeprom.
For numeric constants, it is
.EQU name = value
String type is not given as a valid expression for AVRASM2!
A single character probably works because that converts to
its ascii value.
God I wish they'd stop trying to HELP me with all this "we know what you meant" junk.
What I've got is an include file that's dropping some application-level code into a system.
I want an equate inside the application code file, so I can version the hex file, with a text string in a nice easy-to-find location.
If you use the method with .db, you could be using twice the space?
It's worse than that, it only LOOKS like it works.
The asm takes it, but the string only exists where it's declared. Where it's used, there's nothing.