ack/plat/msdos386/libsys/brk.s

19 lines
200 B
ArmAsm
Raw Normal View History

! Declare segments (the order is important).
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.define _brk
_brk:
mov ebx, esp
mov eax, 1*4(ebx)
callf (realloc_ptr)
xor eax, eax
ret