Added EXIT, WRITE and BRK entry point

This commit is contained in:
ceriel 1992-06-30 16:04:38 +00:00
parent 8c8d1a7d9b
commit 0350c1898b
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,5 @@
.define .lino,.filn
.define EXIT
.define EXIT,BRK,WRITE
.define begtext,begdata,begbss
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
.define hol0,.reghp,.limhp,.trpim,.trppc
@ -57,6 +57,12 @@ EXIT:
move.w d0,-(sp)
jsr __exit
BRK:
jmp __brk
WRITE:
jmp __write
.sect .data
begdata:
hol0:

View file

@ -1,5 +1,5 @@
.define .lino,.filn
.define EXIT
.define EXIT,WRITE,BRK
.define begtext,begdata,begbss
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE
.define hol0,.reghp,.limhp,.trpim,.trppc
@ -33,6 +33,10 @@ EXIT:
move.w d0,-(sp)
jsr __exit
WRITE: jmp __write
BRK: jmp __brk
.sect .data
begdata:
hol0: