Added EXIT, WRITE and BRK entry point
This commit is contained in:
parent
7761553980
commit
20c7c47ddd
@ -1,5 +1,5 @@
|
|||||||
.define .lino,.filn
|
.define .lino,.filn
|
||||||
.define EXIT
|
.define EXIT,BRK,WRITE
|
||||||
.define begtext,begdata,begbss
|
.define begtext,begdata,begbss
|
||||||
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
|
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
|
||||||
.define hol0,.reghp,.limhp,.trpim,.trppc
|
.define hol0,.reghp,.limhp,.trpim,.trppc
|
||||||
@ -57,6 +57,12 @@ EXIT:
|
|||||||
move.w d0,-(sp)
|
move.w d0,-(sp)
|
||||||
jsr __exit
|
jsr __exit
|
||||||
|
|
||||||
|
BRK:
|
||||||
|
jmp __brk
|
||||||
|
|
||||||
|
WRITE:
|
||||||
|
jmp __write
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
hol0:
|
hol0:
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
.define .lino,.filn
|
.define .lino,.filn
|
||||||
.define EXIT
|
.define EXIT,WRITE,BRK
|
||||||
.define begtext,begdata,begbss
|
.define begtext,begdata,begbss
|
||||||
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE
|
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE
|
||||||
.define hol0,.reghp,.limhp,.trpim,.trppc
|
.define hol0,.reghp,.limhp,.trpim,.trppc
|
||||||
@ -33,6 +33,10 @@ EXIT:
|
|||||||
move.w d0,-(sp)
|
move.w d0,-(sp)
|
||||||
jsr __exit
|
jsr __exit
|
||||||
|
|
||||||
|
WRITE: jmp __write
|
||||||
|
|
||||||
|
BRK: jmp __brk
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
hol0:
|
hol0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user