Menu

#2696 Inline Assembly doesn't like custom label names

open
nobody
assembly (2)
STM8
4
2017-12-10
2017-12-10
mrx23dot
No

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)

2 Attachments

Discussion


Log in to post a comment.

Monday.com Logo