ack/mach/vax4/libem/strhp.s

26 lines
347 B
ArmAsm
Raw Normal View History

1985-01-18 14:30:03 +00:00
#include "em_abs.h"
1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .strhp
1985-01-18 14:30:03 +00:00
1990-01-12 10:29:26 +00:00
! $Header$
1985-01-18 14:30:03 +00:00
.strhp:
movl (sp)+,r1
movl (sp)+,r0
pushl r1
movl r0,.reghp
1990-01-22 15:28:45 +00:00
cmpl r0,.limhp
1990-01-12 10:29:26 +00:00
blssu I2
1985-01-18 14:30:03 +00:00
addl2 $02000,r0
bicl2 $0777,r0
1990-01-22 15:28:45 +00:00
pushl r0
calls $1,__brk
1990-01-23 12:06:05 +00:00
tstl r0
1990-01-22 15:28:45 +00:00
beql I2
1985-01-18 14:30:03 +00:00
pushl $EHEAP
jsb .trp
rsb
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
rsb