12 lines
128 B
ArmAsm
12 lines
128 B
ArmAsm
.define _sbrk
|
|
.extern _sbrk
|
|
.text
|
|
_sbrk:
|
|
enter[], 0
|
|
movd @.reghp,r7
|
|
addd 8(fp),r7
|
|
movd r7,@.reghp
|
|
movd @.reghp,r4
|
|
exit []
|
|
ret 0
|