URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [sw/] [mini-libc/] [libc_asm.S] - Diff between revs 34 and 48
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 34 |
Rev 48 |
Line 481... |
Line 481... |
bytes_different:
|
bytes_different:
|
sub r0, r5, r6
|
sub r0, r5, r6
|
ldmia sp!, {r4-r8, pc}^
|
ldmia sp!, {r4-r8, pc}^
|
|
|
|
|
|
@ initialize malloc
|
|
.globl init_malloc
|
|
init_malloc:
|
|
ldr r1, AdrMalloc
|
|
str r1, [r1]
|
|
mov pc, lr
|
|
|
|
|
/* void *malloc(size_t size); */
|
/* void *malloc(size_t size); */
|
.globl malloc
|
.globl malloc
|
malloc:
|
malloc:
|
ldr r1, AdrMalloc
|
ldr r1, AdrMalloc
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.