[fpc-devel] Code generator issue for Cortex-M0 chips in trunk
mail at michael-ring.org
Sun Aug 10 14:41:16 CEST 2014
The patch worked, generated assembler looks ok, will test on device this
Am 08.08.14 um 14:27 schrieb Nico Erfurth:
> On 08.08.14 10:28, Michael Ring wrote:
>> There seems to be a bug in the codegenerator for armv6m thumb code.
>> tst r0,#-2147483648
>> is not valid armv6m assembler code, documentation says that tst only can
>> use registers:
>> TST Rn, Rm
> Please try the attached patch, it should solve the problem, I'll commit
> it after testing.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel