Tool/software: TI C/C++ Compiler
Dear Experts,
could You please help with below issue using "ti-cgt-arm_16.9.1.LTS" on R4F core.
The green part alone is compiled correctly but when the red one is added, it will rise the error "MsgType: error MsgID: 18 Description: expected a ) "
__asm volatile("\t"
"mrc p15, #0, r4, c1, c0, #0\n\t" /* Read SCTLR */
"bic r4, r4, #0x1\n\t" /* Disable MPU */
"dsb\n\t"
"mcr p15, #0, r4, c1, c0, #0\n\t"
"isb\n\t"
:
:
: "r4"
);
Could You please let me know, what the problem with :::"r4" could be?
Many thanks and best regards,
Gregor