[Sdcc-user] Any way to eliminate unnecessary STM8 DIV workaround from an ISR?

2022-08-12 Thread Basil Hussain
Hi all, For the STM8 platform, SDCC adds "clr a", "div x, a" instructions as a prologue to the start of all interrupt service routines (ISRs) in order to mitigate the published errata "Unexpected DIV/DIVW instruction result in ISR". However, as far as I know, this workaround is unnecessary whe

Re: [Sdcc-user] Any way to eliminate unnecessary STM8 DIV workaround from an ISR?

2022-08-12 Thread Philipp Klaus Krause
Am 12.08.22 um 21:52 schrieb Basil Hussain: Hi all, For the STM8 platform, SDCC adds "clr a", "div x, a" instructions as a prologue to the start of all interrupt service routines (ISRs) in order to mitigate the published errata "Unexpected DIV/DIVW instruction result in ISR". However, as far