Hello Marcin,
thanks for your reply.

On 08/18/2012 09:53 PM, Marcin Cieslak wrote:
> On Sat, 18 Aug 2012, Erich Waelde wrote:
>
>
>>> 1) revert to amforth 4.4 hardcoded "rjmp" since we can
>>>      assume the distance is pretty small here.
>>
>> I have included doplusloop.asm from amforth-4.4 into the build
>> from amforth-4.5, and verified the difference in source. Result:
>> amforth built with avrasm2 works, whereas
>> amforth built with avra fails to connect via serial interface.
>
> I think doplusloop.asm has "rjmp" in all recent versions.
> Can you try this "doloop.asm"?

Sure.
creating a 4.5 system, with the original order of
doloop doplusloop unloop in dict_core.inc
replacing words/doloop.asm with the file from amforth-4.4

diff -wu releases/4.{4,5}/core/words/doloop.asm
--- releases/4.4/core/words/doloop.asm  2011-05-24 
20:11:11.207999857 +0200
+++ releases/4.5/core/words/doloop.asm  2011-06-29 
20:04:52.754880362 +0200
@@ -17,4 +17,4 @@
      cp zl, temp2
      cpc zh, temp3
      breq PFA_DOPLUSLOOP1
-    rjmp PFA_DOPLUSLOOP3
+    jmp_ PFA_DOPLUSLOOP3

building amforth with avra creates a working system --- I can
talk to it on the serial prompt.  :-)

>
> I see that r1071 changed lots of jumps, but most
> of them (like DO_NEXT) should be fine - they are
> referring to the already-defined labels.
>
> ------------------------------------------------------------------------
> r1071 | mtrute | 2011-06-03 18:49:08 +0200 (Fri, 03 Jun 2011) | 1 line
>
> use the smart jump instruction everywhere
> ------------------------------------------------------------------------
>
> //Marcin

I'm not sure, what to make of the current state of information.
So I leave this to the experts.

Cheers,
Erich



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to