From 50f571bf2b7b47770318fd27864b3557bf7d4ff3 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1992 16:39:49 +0000 Subject: [PATCH] Added EXIT, WRITE and BRK entry point --- mach/pdp/libsys/head_em.s | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mach/pdp/libsys/head_em.s b/mach/pdp/libsys/head_em.s index 00900d172..2f3e58ea6 100644 --- a/mach/pdp/libsys/head_em.s +++ b/mach/pdp/libsys/head_em.s @@ -3,6 +3,7 @@ .define LINO_AD,FILN_AD .define ERANGE,ESET,EHEAP,EILLINS,ECASE .define hol0,trppc~,trpim~,reghp~,.limhp +.define EXIT,WRITE,BRK ! $Header$ #define float 1 @@ -45,11 +46,15 @@ ECASE = 024 1: mov r0,4(sp) jsr pc,__m_a_i_n -! next two lines for as long as tail needs printf -! mov r0,-(sp) -! jsr pc,*$_exit + mov r0,-(sp) +EXIT: + jsr pc,__exit sys 1 +WRITE: jmp __write + +BRK: jmp __brk + .sect .data hol0: .data2 0,0 ! line no .data2 0,0 ! file -- 2.34.1