Hi!
Controler: STM32F4 Toolchain: MDK-ARM Professional Version: 5.21a
I want to compile the following peace of code
static __inline int MULSHIFT32(int x, int y) { int zlow; __asm__ volatile ( "smull %0,%1,%2,%3" : "=&r" (zlow), "=r" (y) : "r" (x), "1" (y) : "cc" ); return y; }
and I get the compiler error error: #18: expected a ")" : "=&r" (zlow), "=r" (y)
The code is part of helix mp3 decoder, I want to test with my controler. What kind of failure I make?
regards Marc
I'm no expert, but it looks like GCC style to me.
Does the Keil compiler understand inline assembler in that format?