Added EXIT and BRK entry point
This commit is contained in:
parent
4175c4a20b
commit
3e7daebcc7
@ -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
|
||||||
@ -48,6 +48,11 @@ begtext:
|
|||||||
EXIT:
|
EXIT:
|
||||||
jsr (__exit)
|
jsr (__exit)
|
||||||
|
|
||||||
|
WRITE:
|
||||||
|
jmp (__write)
|
||||||
|
BRK:
|
||||||
|
jmp (__brk)
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
splimit:
|
splimit:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user