From: ceriel Date: Tue, 30 Jun 1992 16:30:56 +0000 (+0000) Subject: Added EXIT, WRITE and BRK entry point X-Git-Tag: release-5-5~438 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d0e54a11e517c707aa809741fe3359825bc3afe2;p=ack.git Added EXIT, WRITE and BRK entry point --- diff --git a/mach/ns/libmon/head_em.s b/mach/ns/libmon/head_em.s index 01bd631f4..f5135f7ef 100644 --- a/mach/ns/libmon/head_em.s +++ b/mach/ns/libmon/head_em.s @@ -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