The patch worked, generated assembler looks ok, will test on device this evening

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.

Nico




_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to