1985-01-18 14:30:03 +00:00
|
|
|
#include "em_abs.h"
|
|
|
|
|
1985-01-21 12:56:09 +00:00
|
|
|
# $Header$
|
|
|
|
|
1985-01-18 14:30:03 +00:00
|
|
|
.globl .strhp
|
|
|
|
|
|
|
|
.strhp:
|
|
|
|
movl (sp)+,r1
|
|
|
|
movl (sp)+,r0
|
|
|
|
pushl r1
|
|
|
|
movl r0,.reghp
|
|
|
|
cmpl r0,.hplim
|
|
|
|
blssu L2
|
|
|
|
addl2 $02000,r0
|
|
|
|
bicl2 $0777,r0
|
|
|
|
movl r0,.hplim
|
|
|
|
movl ap,r1
|
|
|
|
movl $L9,ap
|
|
|
|
chmk (ap)+
|
|
|
|
bcc L1
|
|
|
|
pushl $EHEAP
|
1988-04-11 10:50:58 +00:00
|
|
|
jsb .trp
|
|
|
|
rsb
|
1985-01-18 14:30:03 +00:00
|
|
|
L1:
|
|
|
|
movl r1,ap
|
|
|
|
L2:
|
|
|
|
rsb
|
|
|
|
|
|
|
|
.data
|
|
|
|
L9: .word 17
|
|
|
|
.long 1
|
|
|
|
.hplim: .long _end
|