ack/mach/i386/libsys/_brk.s
1990-01-22 11:01:47 +00:00

14 lines
177 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define __brk
.sect .text
__brk:
mov ax,17
callf 0x7:0x0
jb 1f
mov ax,4(sp)
mov (.limhp),ax
xor ax,ax
ret
1:
jmp cerror