ack/mach/ns/libsys/_sbrk.s

17 lines
195 B
ArmAsm
Raw Normal View History

1990-01-22 13:41:58 +00:00
.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