I'm using sdcc for win32 from the nightly snapshots:
2.3.8 (Feb 9 2004) (MINGW32)
Bug - Assembler and loops.
When an assembler statement is the first line in a loop
the compiler ignores it when generating labels. As far as
I can tell this happens with all types of loop ( while, do-
while, for and lable-goto(!) ).
The code below reproduces the problem.
_asm nop _endasm;
which generates this asm:
_main ;Function start
;#CSRC main.c 10 _asm nop
As you can see _00106_DS_: is after the nop, not
Log in to post a comment.