lpcware

Using MULS instruction in Cortex M0

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by mahna on Sat Dec 31 08:43:51 MST 2011
When I use MULS instruction in inline assembly, the compiler flags an error.
When I put  ".syntax unified" directive, the error is as follows :
Error: Thumb-2 MUL must not set flags
How to use multiply instruction in inline assembly ?

Outcomes