This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[ loading the pc register ]

Parents
  • Note: This was originally posted on 15th July 2009 at http://forums.arm.com

    Hmm... Since you mention a hardcoded value works, and decrement by 4, I wonder if the size is actually not a multiple of 4 when working it out?  It looks like the code might loop if it wasn't.


    Hi, thanks for this remark but I already actually
    changed it to take that into account, by >> 2 and
    counting in term of words instead of bytes. Btw,
    the size was always a multiple of 4, so the bug
    doesnot come from here.
Reply
  • Note: This was originally posted on 15th July 2009 at http://forums.arm.com

    Hmm... Since you mention a hardcoded value works, and decrement by 4, I wonder if the size is actually not a multiple of 4 when working it out?  It looks like the code might loop if it wasn't.


    Hi, thanks for this remark but I already actually
    changed it to take that into account, by >> 2 and
    counting in term of words instead of bytes. Btw,
    the size was always a multiple of 4, so the bug
    doesnot come from here.
Children
No data