Added EXIT, WRITE entry point
This commit is contained in:
parent
8e4ee3ec1a
commit
e860fa1974
|
@ -1,6 +1,7 @@
|
||||||
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
|
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
|
||||||
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
|
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
|
||||||
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
|
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
|
||||||
|
.define WRITE,EXIT
|
||||||
.sect .text
|
.sect .text
|
||||||
.sect .rom
|
.sect .rom
|
||||||
.sect .data
|
.sect .data
|
||||||
|
@ -45,8 +46,10 @@
|
||||||
ld bc,1
|
ld bc,1
|
||||||
push bc
|
push bc
|
||||||
call __m_a_i_n
|
call __m_a_i_n
|
||||||
|
EXIT:
|
||||||
jp 0x20
|
jp 0x20
|
||||||
|
WRITE:
|
||||||
|
jp __write
|
||||||
|
|
||||||
.sect .bss
|
.sect .bss
|
||||||
begbss:
|
begbss:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
|
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
|
||||||
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
|
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
|
||||||
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
|
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
|
||||||
|
.define WRITE,EXIT
|
||||||
.sect .text
|
.sect .text
|
||||||
.sect .rom
|
.sect .rom
|
||||||
.sect .data
|
.sect .data
|
||||||
|
@ -45,8 +46,10 @@
|
||||||
ld bc,1
|
ld bc,1
|
||||||
push bc
|
push bc
|
||||||
call __m_a_i_n
|
call __m_a_i_n
|
||||||
|
EXIT:
|
||||||
jp 0x20
|
jp 0x20
|
||||||
|
WRITE:
|
||||||
|
jp __write
|
||||||
|
|
||||||
.sect .bss
|
.sect .bss
|
||||||
begbss:
|
begbss:
|
||||||
|
|
Loading…
Reference in a new issue