ack/mach/i386/libsys/brk.s

14 lines
175 B
ArmAsm
Raw Normal View History

1989-10-10 11:40:55 +00:00
.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