I am trying to convert the following code for armclang compiler:
I am unable to convert the line numbers 48 and 51 of the above code.. The below code is not working fine,
Can anyone please support me on this.
I have moved your question to the Compilers and Libraries forum where someone may be able to help you.
Oli from the Community team
Hello, what error are you seeing with your new code?
As a first pass, I recommend you see the armcc to armclang migration guide:https://developer.arm.com/documentation/100068/0617/Migrating-from-armcc-to-armclang/Inline-assembly-with-Arm-Compiler-for-Embedded-6
Thank you so much. I have already referred the link the link that you have shared.
The error is at line 47 "error: [0m[1mexpected ';' after expression: [0m[1mexpected ';' after expression". Even after putting ; its not working.
Try the syntax in this link since you are passing a parameter: https://www.keil.com/support/man/docs/armclang_ref/armclang_ref_qbn1517569205870.htm