Added EXIT, WRITE entry point

This commit is contained in:
ceriel 1992-06-30 17:36:49 +00:00
parent 8e4ee3ec1a
commit e860fa1974
2 changed files with 8 additions and 2 deletions

View file

@ -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:

View file

@ -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: