Use .limhp

This commit is contained in:
ceriel 1990-01-22 13:58:54 +00:00
parent bf95ea8fd9
commit 73bfa1d1ab
3 changed files with 11 additions and 14 deletions

View file

@ -6,7 +6,7 @@ break = 17
__sbrk:
.data2 0x0000
movl Ind,r0
movl .limhp,r0
tstl 4(ap)
jeql 3f
addl3 r0,4(ap),-(sp)
@ -19,8 +19,8 @@ __sbrk:
1:
jmp cerror
2:
movl Ind,r0
addl2 4(r3),Ind
movl .limhp,r0
addl2 4(r3),.limhp
3:
ret
@ -30,9 +30,6 @@ __brk:
bcc 1f
jmp cerror
1:
movl 4(ap),Ind
movl 4(ap),.limhp
clrl r0
ret
.sect .data
Ind: .data4 endbss

View file

@ -6,6 +6,7 @@
.define hol0
.define .reghp
.define .limhp
.define .trppc
.define .trpim
@ -73,6 +74,8 @@ Im2:
.data4 0
.reghp:
.data4 _end
.limhp:
.data4 _end
hol0:
.space 8
.trppc:

View file

@ -6,7 +6,7 @@ break = 17
_sbrk:
.data2 0x0000
movl Ind,r0
movl .limhp,r0
tstl 4(ap)
jeql 3f
addl3 r0,4(ap),-(sp)
@ -19,8 +19,8 @@ _sbrk:
1:
jmp cerror
2:
movl Ind,r0
addl2 4(r3),Ind
movl .limhp,r0
addl2 4(r3),.limhp
3:
ret
@ -32,9 +32,6 @@ _brk:
bcc 1f
jmp cerror
1:
movl 4(ap),Ind
movl 4(ap),.limhp
clrl r0
ret
.sect .data
Ind: .data4 _end