
Posted:
Apr 6, 2003 @ 2:59pm
by Sergey Chaban
Generated code is correct.
One register is used for loop counter (r3) and another one is a write dest (r0 = p[i]).
The instruction you marked as buggy is a so-called post-indexed addressing - r0 is automagically incremented by #1 after write (*p++ = data).

Posted:
Apr 6, 2003 @ 3:22pm
by ricklei
Oops...Thanks for indicating that to me :oops: