SDCC fails to compile custom label name in inline assembly. Only accepts its specific format eg: 001232$.
Attached compiling and not compiling code.
Compilation error:
line 93: Error: undefined symbol encountered during assembly
Expected to compile custom labels.
commands:
sdcc -mstm8 --opt-code-size --std-c89 -o test_asm.rel test_asm_works.c
sdcc -mstm8 --opt-code-size --std-c89 -o test_asm.rel test_asm_fails.c
version:
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.9 #10186 (MINGW32)