diff --git a/src/memcpy.s b/src/memcpy.s index 5124d03..0b4fccb 100644 --- a/src/memcpy.s +++ b/src/memcpy.s @@ -135,6 +135,9 @@ sub r1, #3 bhi .Lrword_copy // r2 = num chunks lsr r2, #5 +// Move to the beginning of the current chunk +sub r0, #28 +sub r1, #28 // Preserve local variables push {r4-r10} .Lrchunk_copy: