| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
x = 20;
asm ("li %1,%0" : "=r" (carry) : "r" (x) ); //=======> Error
//asm ("li %0,10" : "=r" (carry)); //=====> this works fine
///////////////////////////
I am moving value of "x" to "carry" but the compiler throws following error:
"Parameter error: _expression_ must be absolute (parameter 2)". But if i specify some values instead of passing x, the instruction works fine.
What can be the issue ? All suggestions/comments are welcome.
Regards,
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.