Added EXIT and BRK entry point
This commit is contained in:
parent
ab38665421
commit
3f3af2e01f
|
@ -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…
Reference in a new issue