Hello,
I have defined a byte variable in {$DATA} area and an INC(var) instruction in the main.
It compile without error, but at runtimes the inc() instruction seems ignored...
Only a direct assignment var:=1; seems work...
Moving the var declaration into {$IDATA} solved the problem.
Is it still available in xMegas some {$DATA} memory space ?
Regards,
Marco
I have defined a byte variable in {$DATA} area and an INC(var) instruction in the main.
It compile without error, but at runtimes the inc() instruction seems ignored...
Only a direct assignment var:=1; seems work...
Moving the var declaration into {$IDATA} solved the problem.
Is it still available in xMegas some {$DATA} memory space ?
Regards,
Marco