ack/mach/ns/libsys/sbrk.s
1985-07-26 12:51:45 +00:00

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