Am 24.01.2018 um 08:02 schrieb Åke Rehnman:
> Hello,
> 
> those instructions is a workaround for a bug in the stm8 causing a
> DIV/DIVW instruction to return a false result (in the interrupted program).
> 
> /Ake

Sometimes SDCC will be able to prove that the workaround is not needed,
and omit it. But in the presence of inline assembly or function calls to
functions not yet defined, it will prefer err on the safe side.

Philipp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to