Added EXIT, WRITE and BRK entry point
This commit is contained in:
parent
4ef108f93e
commit
9da8f28a47
|
@ -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,EBADGTO
|
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
|
||||||
.define hol0,.reghp,.limhp,.trpim,.trppc
|
.define hol0,.reghp,.limhp,.trpim,.trppc
|
||||||
|
@ -43,6 +43,12 @@ begtext:
|
||||||
EXIT:
|
EXIT:
|
||||||
jsr (__exit)
|
jsr (__exit)
|
||||||
|
|
||||||
|
WRITE:
|
||||||
|
jmp (__write)
|
||||||
|
|
||||||
|
BRK:
|
||||||
|
jmp (__brk)
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
.data4 0 ! may be at virtual address 0 with no problem
|
.data4 0 ! may be at virtual address 0 with no problem
|
||||||
|
|
Loading…
Reference in a new issue