drogon wrote:
If you want symbols to be global over several files, then use := else use =
Hmm, except it seems you can still export symbols even with defined with "=". In my monitor code, I have this in one file:
Code:
.export IBUFFSZ
IBUFFSZ = 256
and I am able to import and use that just fine. Honestly when I wrote it that way I didn't expect it to work, but it does, so I just left it alone.
In general I just tend to declare constants with "=" and actual addresses/symbols with ":=", but I think that's mostly just a personal thing for me and I'm not sure it really makes a difference.