EXPORT start
AREA .text, CODE
start
mov R12, SP ; я
stmfd SP!, {R4-R7,R11,R12,LR}
eor R0, R0, R0
ldmdb R11, {R4-R7,R11,SP,PC}
END
This code compiles successfuly, but in obj and exe files we have only opcode of the first command (up to the coments). All other commands (after this comment) are ignored by compiler.
BUG: we have this bug only if comments includes letter "я". It's the last letter in russan alphabet. It has code "0xFF" in ANSI (Win1251) and I think this is a reason of this bug.
Please check this.