hi, Let assume that one .asm file contains next definitions:
PUBLIC FLAG1,FLAG2 FLAG1 EQU 00000001b FLAG2 EQU 00000010b
MOV A,#(FLAG1 OR FLAG2)
sorry, forgot to say that content of the second file includes external link as well:
EXTRN NUMBER(FLAG1,FLAG2) MOV A,#(FLAG1 OR FLAG2)