From: ceriel Date: Tue, 30 Jun 1992 15:02:56 +0000 (+0000) Subject: Added EXIT and BRK entry point X-Git-Tag: release-5-5~451 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f6157ea21ed197deea73cc7fd200eb59f3300351;p=ack.git Added EXIT and BRK entry point --- diff --git a/mach/i86/libsys/head_em.s b/mach/i86/libsys/head_em.s index dc002bb6c..2c03b1040 100644 --- a/mach/i86/libsys/head_em.s +++ b/mach/i86/libsys/head_em.s @@ -3,6 +3,7 @@ .define begtext,begdata,begbss .define hol0,.reghp,.limhp,.trppc,.ignmask .define ERANGE,ESET,EHEAP,ECASE,EILLINS,EIDIVZ,EODDZ +.define EXIT .extern _end ERANGE = 1 @@ -27,7 +28,10 @@ begtext: push cx xor bp,bp call __m_a_i_n +EXIT: int 0x81 +BRK: + jmp __brk .sect .data begdata: hol0: