Naming convention of constants in assembly has changed in ver 8.3. In previous versions compiler simply used the constant's name and addressed in assembly constants placed in Flash as
Code: Select all
#name
@#name
@@#name
Code: Select all
#_name
@#_name
@@#_name
Code: Select all
#_unitname_name
@#_unitname_name
@@#_unitname_name
A warning:
Be aware that the linker does not issue any warning when it ignores a constant that has been used only in assembly. Code is compiled without placing the constant in flash in this case. Fictional address ($FFFFFF) is used in assembly instructions using such constant which may lead to unpredictable program behaviour.