| 1 |
.syntax unified |
| 2 |
|
| 3 |
.global __aeabi_memclr8 |
| 4 |
.global __aeabi_memclr4 |
| 5 |
.global __aeabi_memclr |
| 6 |
.global __aeabi_memset8 |
| 7 |
.global __aeabi_memset4 |
| 8 |
.global __aeabi_memset |
| 9 |
|
| 10 |
.type __aeabi_memclr8,%function |
| 11 |
.type __aeabi_memclr4,%function |
| 12 |
.type __aeabi_memclr,%function |
| 13 |
.type __aeabi_memset8,%function |
| 14 |
.type __aeabi_memset4,%function |
| 15 |
.type __aeabi_memset,%function |
| 16 |
|
| 17 |
__aeabi_memclr8: |
| 18 |
__aeabi_memclr4: |
| 19 |
__aeabi_memclr: |
| 20 |
movs r2, #0 |
| 21 |
__aeabi_memset8: |
| 22 |
__aeabi_memset4: |
| 23 |
__aeabi_memset: |
| 24 |
cmp r1, #0 |
| 25 |
beq 2f |
| 26 |
adds r1, r0, r1 |
| 27 |
1: strb r2, [r0] |
| 28 |
adds r0, r0, #1 |
| 29 |
cmp r1, r0 |
| 30 |
bne 1b |
| 31 |
2: bx lr |