ack/mach/ns/libsys/sbrk.s
1987-01-16 16:34:45 +00:00

17 lines
192 B
ArmAsm

.define _sbrk
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.extern _sbrk
.sect .text
_sbrk:
enter[], 0
movd @.reghp,r7
addd 8(fp),r7
movd r7,@.reghp
movd @.reghp,r4
exit []
ret 0