.syntax unified .global __aeabi_memcpy8 .global __aeabi_memcpy4 .global __aeabi_memcpy .global __aeabi_memmove8 .global __aeabi_memmove4 .global __aeabi_memmove .type __aeabi_memcpy8,%function .type __aeabi_memcpy4,%function .type __aeabi_memcpy,%function .type __aeabi_memmove8,%function .type __aeabi_memmove4,%function .type __aeabi_memmove,%function __aeabi_memmove8: __aeabi_memmove4: __aeabi_memmove: cmp r0, r1 bls 2f cmp r2, #0 bxeq lr add r0, r0, r2 add r2, r1, r2 1: ldrb r3, [r2, #-1]! cmp r1, r2 strb r3, [r0, #-1]! bne 1b bx lr __aeabi_memcpy8: __aeabi_memcpy4: __aeabi_memcpy: 2: cmp r2, #0 bxeq lr sub r0, r0, #1 add r2, r1, r2 1: ldrb r3, [r1], #1 cmp r1, r2 strb r3, [r0, #1]! bne 1b bx lr