lpcware

Assembler [INCLUDE] problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by kisiel on Fri Mar 22 12:36:28 MST 2013
Hello,
I found an error with .include command.
I have files:
* main.s
* subrutine.s
In main I have => .include "../src/subrutine.s"

In subrutine I have => "lsrs r2,#24"
and I got error:
this command is not supported with Thumb16 mode.
On board is Cortex M0.
I can delete S in lsrs and it works (no error) but it should works like this :confused:
For me include command should works like copy paste.

Outcomes