SLAU132V October 2004 – February 2020
table_size .set 10000 ; define the constant
.global _table_size ; make it global
Because you are referencing only the symbol's value as stored in the symbol table, the symbol's declared type is unimportant. In Example 6, int is used. You can reference linker-defined symbols in a similar manner.