This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error with Embedded Assembler in MDK v5.10 !!!

I installed the latest version of MDK --- uVision5.10 today, but i met an error within embedded assembler in my project

the source code is simple as below:

__asm void OS_TO_PRIVILEGE(void)   

{

    SVC

    NOP

    NOP

    BX LR

    ALIGN

}

But compiler always report error after building.

error: A1110E: Expected constant expression


I am sure it was correct in previous MDK version like v4.xx, But now it doesn't work....

Attached system info in PC