cancel
Showing results for 
Search instead for 
Did you mean: 

fpscr is a status register in STM32L5x2 which has arm cortex M33 ? If yes it can be accesible in c or cpp IAR project using asm volatile instuctions?

Ak.1
Associate II

Hello all,

  

Please confirm fpscr is a special status register in STM32 L5 series controller?

The IAR compiler is giving "Illegal register name" error, when I tried to execute the instuctions in c or cpp project using "asm volatile(mrs and msr insturctions)".

Thanks in advance.

2 REPLIES 2
Ak.1
Associate II

Hello all,

Please find the attached screenshots.

As per the armv8-marchitecture reference manual the (https://static.docs.arm.com/ddi0553/bj/DDI0553B_j_armv8m_arm.pdf), is a special and general purpose register, in the IAR IDE, FPSCR is available as a memory mapped register for STM32 L5(ST STM32L552ZE-Q) under category floating point system registers.

It is confused, FPSCR is a memory mapped register, Please anybody know the reason it is not referenced in the register index table D1.1.28 in the page no 1318 in https://static.docs.arm.com/ddi0553/bj/DDI0553B_j_armv8m_arm.pdf ?

Thanks

Ak.1
Associate II

Please find the attachment