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
|
|
|
|
cmpl r0,.hplim
|
1990-01-12 10:29:26 +00:00
|
|
|
blssu I2
|
1985-01-18 14:30:03 +00:00
|
|
|
addl2 $02000,r0
|
|
|
|
bicl2 $0777,r0
|
|
|
|
movl r0,.hplim
|
|
|
|
movl ap,r1
|
1990-01-12 10:29:26 +00:00
|
|
|
movl $I9,ap
|
1985-01-18 14:30:03 +00:00
|
|
|
chmk (ap)+
|
1990-01-12 10:29:26 +00:00
|
|
|
bcc I1
|
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
|
|
|
I1:
|
1985-01-18 14:30:03 +00:00
|
|
|
movl r1,ap
|
1990-01-12 10:29:26 +00:00
|
|
|
I2:
|
1985-01-18 14:30:03 +00:00
|
|
|
rsb
|
|
|
|
|
1990-01-12 10:29:26 +00:00
|
|
|
.sect .data
|
|
|
|
I9: .data2 17
|
|
|
|
.data4 1
|
|
|
|
.hplim: .data4 _end
|