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-21 12:56:09 +00:00
|
|
|
|
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
|
1988-04-11 10:50:58 +00:00
|
|
|
jsb .trp
|
|
|
|
rsb
|
1990-01-12 10:29:26 +00:00
|
|
|
I2:
|
1985-01-18 14:30:03 +00:00
|
|
|
rsb
|