inline assembly error
Posted
by Manish
on Stack Overflow
See other posts from Stack Overflow
or by Manish
Published on 2009-05-04T17:12:50Z
Indexed on
2010/03/27
21:03 UTC
Read the original article
Hit count: 412
I am using inline assembly for iphone, I working for device debug mode.
The instruction is as follows:
__asm__("smlatb %0, %1, %2 ,%3 \n\t": "=r"(Temp): "r"(treg5) : "r"(fac5) : "r"(Temp) );
And I am getting an errors:
error : expected ')' before tokedn '(' error: unknown register name 'r' in 'asm'
I am using X-code 3.0 and gcc 4.0. Any ideas?
© Stack Overflow or respective owner