ack/mach/ns/libsys/sbrk.s

12 lines
128 B
ArmAsm
Raw Normal View History

1985-07-26 12:51:45 +00:00
.define _sbrk
.extern _sbrk
.text
_sbrk:
enter[], 0
movd @.reghp,r7
addd 8(fp),r7
movd r7,@.reghp
movd @.reghp,r4
exit []
ret 0