<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The patch worked, generated assembler
looks ok, will test on device this evening<br>
<br>
Am 08.08.14 um 14:27 schrieb Nico Erfurth:<br>
</div>
<blockquote cite="mid:53E4C22A.3010008@erfurth.eu" type="cite">
<pre wrap="">On 08.08.14 10:28, Michael Ring wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
Please try the attached patch, it should solve the problem, I'll commit
it after testing.
Nico
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>