From 4ef108f93ef570a444f5ebfd25f02baf612c2691 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1992 15:51:31 +0000 Subject: [PATCH] Added BRK and EXIT entry points --- mach/xenix3/libsys/head_em.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mach/xenix3/libsys/head_em.s b/mach/xenix3/libsys/head_em.s index 5cb0d6f5e..167297136 100644 --- a/mach/xenix3/libsys/head_em.s +++ b/mach/xenix3/libsys/head_em.s @@ -3,6 +3,7 @@ .define begtext,begdata,begbss,syscal .define hol0,.reghp,.limhp,.trppc,.ignmask .define ERANGE,ESET,EHEAP,ECASE,EILLINS,EIDIVZ,EODDZ +.define EXIT,BRK .extern endbss ERANGE = 1 @@ -55,8 +56,13 @@ begtext: mov (.reghp),ax ! on Xenix, heap begins above stack! pop ax call __m_a_i_n +EXIT: push ax call __exit + +BRK: + jmp __brk + .sect .data begdata: hol0: -- 2.34.1