This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

static variables as "public" in the file ".M51"

In the "c" source code there are variables outside of functions "static xdata". The file ".M51" some of these variables are shown as "public". Variables with the same name in other modules do not exist. Is this correct?

For example:

source code : example.c

static u8 xdata Var1[10];
static u8 xdata Var2[20];

list example.M51

X:6000H         PUBLIC        Var1
X:7004H         SYMBOL        Var2

0