Skip to main content
Ak.1
Associate
Feb 24, 2020 11:33 PM UTC
Question

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?

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.

This topic has been closed for replies.

2 replies

Ak.1
Ak.1Author
Associate
Feb 25, 2020 6:58 PM UTC

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
Ak.1Author
Associate
Feb 25, 2020 7:01 PM UTC

Please find the attachment