void foo(char x) __naked {
__asm__("izsn p");
}
sdcc -mpdk13 --peep-asm test.c
Caught signal 11: SIGSEGV
SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502 TD- 4.2.14 #13898 (MINGW64)
In [r14004], I improved this a bit. Instead of a SIGSEGV, there is now an "FATAL Compiler Internal Error in file 'SDCCpeeph.c' line number '3727' : skip instruction has no target label". Not perfect yet (a normal error would be better), but at least some kind of error message.
Related
Commit: [r14004]
As of [r14005], we have a proper error message.
Related
Commit: [r14005]