Cortex-M23 assembly instrutions not accepted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
asm.c
void vRaisePrivilege( void ) __attribute__( ( naked ) );
void vResetPrivilege( void ) __attribute__( ( naked ) );
void vRaisePrivilege( void )
{
__asm volatile
(
" mrs r0, control \n"
" movs r1, #1 \n"
" bics r0, r1 \n"
" msr control, r0 \n"
" bx lr \n"
::: "r0", "r1", "memory"
);
}
/*-----
void vResetPrivilege( void )
{
__asm volatile
(
" mrs r0, control \n"
" movs r1, #1 \n"
" orrs r0, r1 \n"
" msr control, r0 \n"
" bx lr \n"
::: "r0", "r1", "memory"
);
}
arm-none-eabi-gcc -mthumb -march=
arm-none-eabi-gcc -mthumb -march=
C:\Users\
C:\Users\
C:\Users\
cortex m23 has no it instruction... removed comment