OK, now I understand.
In the ARM world there is two different syntaxes for ASM code: the ARM (UAL) syntax (used by Keil and IAR) and the GCC syntax.
As your comment start by semicolons, obviously your file use the ARM syntax, while System Workbench fr STM32 uses the GCC syntax.
There is a few differences between both:
- Comments are introduced by sharp
#characters in GCC
- labels must be followed by a colon
:and instructions do not have (but may be) indented
- Immediate values may be introduced by ‘#’ or ‘$’ characters
There is a good quick-reference paper at this address; I suggest you look at it to convert your ASM files.
Sorry to not have a quick solution for your problem,