Mz FPU context save

General discussion on mikroC PRO for PIC32.
Post Reply
Author
Message
brandonb
Posts: 105
Joined: 24 Jan 2013 03:24

Mz FPU context save

#1 Post by brandonb » 25 Aug 2020 20:18

whats the correct way of saving FPU registers inside an isr and repopulating them on exit so can use floating point math inside isr .

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Mz FPU context save

#2 Post by filip » 13 Oct 2020 09:18

Hi,

The compiler should automatically perform context saving of the FPU registers, please have a look at the Interrupt Service Routine chapter in the help file.

Regards,
Filip.

Post Reply

Return to “mikroC PRO for PIC32 General”