From 72b89fc1adc13d3023501e33b5e6489bd35302a9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1992 15:11:49 +0000 Subject: [PATCH] Added EXIT and BRK entry point --- mach/minix/libsys/head_em.s | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mach/minix/libsys/head_em.s b/mach/minix/libsys/head_em.s index 83a665ab6..89ff59226 100644 --- a/mach/minix/libsys/head_em.s +++ b/mach/minix/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, BRK ERANGE = 1 ESET = 2 @@ -27,7 +28,13 @@ begtext: xor bp,bp call __m_a_i_n add sp,6 +EXIT: + push ax call __exit + +BRK: + jmp __brk + .sect .data begdata: hol0: -- 2.34.1