We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
if i have configuration: ... VAR: DS 1 ...
and,i include it in one .asm file $include (confi.inc) when i assemble them, msg show: Program Size: data=30.0 xdata=0 code=101
and,i include it in another .asm file $include (confi.inc)
when i assemble them, msg show: Program Size: data=38.0 xdata=0 code=101
How did it happen? Why dit it double the data memory?
You are creating multiple copies of variables, since you are not extern-declaring the variable and letting the linker do its job.