Added EXIT, WRITE and BRK entry point
This commit is contained in:
parent
05eb707e37
commit
08aa8d7b53
@ -1,6 +1,6 @@
|
||||
.define hol0,argv,.reghp,.limhp,envp,begbss
|
||||
.define .ignmask, .trpreg
|
||||
.define .stop
|
||||
.define .stop, BRK
|
||||
.define ERANGE,EILLINS,ECASE
|
||||
.sect .text
|
||||
.sect .rom
|
||||
@ -33,6 +33,12 @@ ECASE = 20
|
||||
jsr @.putchar
|
||||
bpt
|
||||
|
||||
BRK:
|
||||
movd 0,r0
|
||||
ret 0
|
||||
|
||||
WRITE: jump @__write
|
||||
|
||||
.sect .bss
|
||||
begbss:
|
||||
.sect .data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user