I'd like to define a variable in one .asm file and have that symbol remain defined when another .asm file is compiled. The global/extern constructs only work with labels; I'm still a little fuzzy on this but I don't think a label is the same as a compiler symbol. Here's what I thought would work, but doesn't: ... #define myvariable 123 #include "myotherfile.asm" ... I figured that by the time the compiler got to building myotherfile.asm, the variable myvariable would be defined. However, that's not the behavior I've seen. The compiler complains that the symbol myvariable is not defined. What is the right way to accomplish this? I've tried using preprocessor directives #define, constant, variable, and set and they all give the same results when I try to build my project. Thanks! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist